Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 192.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5831/0.5831, allocations: 95.47 MB / 364.9 MB, free: 10.03 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 63.91 kB / 444.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.331, allocations: 69.07 MB / 0.5019 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4838/0.8149, allocations: 180.7 MB / 0.6784 GB, free: 56 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.8272, allocations: 9.151 MB / 0.6873 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.8301, allocations: 52.81 kB / 0.6874 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.8323, allocations: 0.6634 MB / 0.688 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/0.8402, allocations: 1.839 MB / 0.6898 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.8445, allocations: 1.1 MB / 0.6909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007101/0.8516, allocations: 5.678 MB / 0.6964 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.8544, allocations: 1.883 MB / 0.6983 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.8599, allocations: 2.227 MB / 0.7004 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.8635, allocations: 2.294 MB / 0.7027 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.864, allocations: 278.8 kB / 0.7029 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.8676, allocations: 1.452 MB / 0.7044 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007895/0.8684, allocations: 0.882 MB / 0.7052 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.8705, allocations: 1.396 MB / 0.7066 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004718/0.8752, allocations: 3.729 MB / 0.7102 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.8753, allocations: 0 / 0.7102 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8753, allocations: 4 kB / 0.7102 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.857e-05/0.8753, allocations: 3.938 kB / 0.7102 GB, free: 5.578 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.006483/0.8818, allocations: 2.918 MB / 0.7131 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8819, allocations: 15.92 kB / 0.7131 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007117/0.8826, allocations: 250.1 kB / 0.7133 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.8847, allocations: 1.316 MB / 0.7146 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.8848, allocations: 152.1 kB / 0.7148 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.8851, allocations: 203.9 kB / 0.715 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/0.8892, allocations: 2.676 MB / 0.7176 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.8893, allocations: 0 / 0.7176 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.8895, allocations: 88 kB / 0.7177 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.8895, allocations: 52 kB / 0.7177 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004844/0.8944, allocations: 3.295 MB / 0.7209 GB, free: 10.45 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.9055, allocations: 8.291 MB / 0.729 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/0.9106, allocations: 3.794 MB / 0.7327 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.9133, allocations: 2.025 MB / 0.7347 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.9147, allocations: 1.407 MB / 0.7361 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.9147, allocations: 65.11 kB / 0.7361 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=323): time 4.349e-06/0.9147, allocations: 0 / 0.7361 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.01759/0.9323, allocations: 9.419 MB / 0.7453 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.9324, allocations: 86.06 kB / 0.7454 GB, free: 476 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.9335, allocations: 0.7961 MB / 0.7462 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.9337, allocations: 85.7 kB / 0.7463 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.934, allocations: 0.5639 MB / 0.7468 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008467/0.9349, allocations: 1.13 MB / 0.7479 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006969/0.9356, allocations: 482.4 kB / 0.7484 GB, free: 13.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.9357, allocations: 301.1 kB / 0.7487 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.9377, allocations: 1.306 MB / 0.75 GB, free: 11.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.9398, allocations: 1.59 MB / 0.7515 GB, free: 10.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/0.9443, allocations: 3.151 MB / 0.7546 GB, free: 6.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.9443, allocations: 4 kB / 0.7546 GB, free: 6.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.005589/0.9499, allocations: 3.768 MB / 0.7583 GB, free: 3.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.9499, allocations: 8 kB / 0.7583 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.95, allocations: 4 kB / 0.7583 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.9502, allocations: 82.62 kB / 0.7584 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/0.953, allocations: 0.6241 MB / 0.759 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.9557, allocations: 4.233 MB / 0.7631 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.9578, allocations: 179.8 kB / 0.7633 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.958, allocations: 104 kB / 0.7634 GB, free: 13.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.959, allocations: 0.5322 MB / 0.7639 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.9594, allocations: 189.8 kB / 0.7641 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/0.9659, allocations: 4.241 MB / 0.7682 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.966, allocations: 39.94 kB / 0.7683 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.966, allocations: 0 / 0.7683 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-05/0.966, allocations: 19.88 kB / 0.7683 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.9765, allocations: 7.057 MB / 0.7752 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.9766, allocations: 0 / 0.7752 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/0.9795, allocations: 0.6202 MB / 0.7758 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.9797, allocations: 78.47 kB / 0.7759 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.9799, allocations: 75.97 kB / 0.7759 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.9829, allocations: 4.226 MB / 0.7801 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9829, allocations: 0 / 0.7801 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008694/0.9916, allocations: 6.069 MB / 0.786 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.9922, allocations: 242.6 kB / 0.7862 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.9925, allocations: 64 kB / 0.7863 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.9941, allocations: 139.9 kB / 0.7864 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.9945, allocations: 214.7 kB / 0.7866 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/0.9947, allocations: 107.9 kB / 0.7867 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007343/0.9955, allocations: 0.5423 MB / 0.7872 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9955, allocations: 0 / 0.7872 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001925/0.9974, allocations: 0.828 MB / 0.7881 GB, free: 3.297 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.p,volA.dynBal.medium.T,volB.dynBal.medium.p,volB.dynBal.medium.T,volC.dynBal.medium.p,volC.dynBal.medium.T,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000912/0.9983, allocations: 452.6 kB / 0.7885 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01831/1.017, allocations: 8.978 MB / 0.7972 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.017, allocations: 4 kB / 0.7973 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003012/1.02, allocations: 2.222 MB / 0.7994 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/1.023, allocations: 0.8385 MB / 0.8002 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/1.032, allocations: 6.323 MB / 0.8064 GB, free: 400 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/1.033, allocations: 1.572 MB / 0.808 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00383/1.037, allocations: 0.9614 MB / 0.8089 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/1.038, allocations: 223.4 kB / 0.8091 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/1.038, allocations: 0 / 0.8091 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.06594/1.104, allocations: 41.05 MB / 0.8492 GB, free: 4.957 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)