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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.6146/0.6146, allocations: 95.62 MB / 110.6 MB, free: 9.379 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001054/0.001054, allocations: 166.3 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.461/1.461, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001692/0.001691, allocations: 121.9 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 15.98 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 61.53 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.214, allocations: 402.1 MB / 0.9046 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.214, allocations: 87.58 kB / 0.9047 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.457/2.671, allocations: 369.2 MB / 1.265 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.775e-06/2.671, allocations: 4 kB / 1.265 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001065/2.671, allocations: 49.41 kB / 1.265 GB, free: 80.82 MB / 0.5261 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.007868/2.679, allocations: 2.759 MB / 1.268 GB, free: 78.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/2.679, allocations: 11.98 kB / 1.268 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/2.68, allocations: 252.2 kB / 1.268 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/2.684, allocations: 1.686 MB / 1.27 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.972e-05/2.684, allocations: 152.1 kB / 1.27 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/2.685, allocations: 203.9 kB / 1.27 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/2.689, allocations: 2.609 MB / 1.273 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/2.689, allocations: 0 / 1.273 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/2.689, allocations: 88 kB / 1.273 GB, free: 73.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/2.689, allocations: 48 kB / 1.273 GB, free: 72.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/2.694, allocations: 3.23 MB / 1.276 GB, free: 69.74 MB / 0.5261 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.01055/2.704, allocations: 6.81 MB / 1.283 GB, free: 62.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/2.709, allocations: 3.784 MB / 1.286 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/2.71, allocations: 1.4 MB / 1.288 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/2.71, allocations: 69.11 kB / 1.288 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=323): time 4.649e-06/2.71, allocations: 0 / 1.288 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=338): time 0.01745/2.728, allocations: 9.466 MB / 1.297 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/2.728, allocations: 86.06 kB / 1.297 GB, free: 47.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009202/2.729, allocations: 0.7087 MB / 1.298 GB, free: 46.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/2.729, allocations: 89.7 kB / 1.298 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/2.729, allocations: 0.5676 MB / 1.298 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006958/2.73, allocations: 1.126 MB / 1.3 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/2.73, allocations: 60 kB / 1.3 GB, free: 45.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001422/2.73, allocations: 423.9 kB / 1.3 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/2.732, allocations: 1.294 MB / 1.301 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/2.734, allocations: 1.574 MB / 1.303 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/2.736, allocations: 1.541 MB / 1.304 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.736, allocations: 7.984 kB / 1.304 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.005001/2.741, allocations: 3.752 MB / 1.308 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/2.741, allocations: 7.953 kB / 1.308 GB, free: 36.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/2.741, allocations: 4 kB / 1.308 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/2.741, allocations: 86.7 kB / 1.308 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/2.744, allocations: 0.6202 MB / 1.309 GB, free: 35.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/2.746, allocations: 3.945 MB / 1.313 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/2.749, allocations: 179.9 kB / 1.313 GB, free: 31.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/2.749, allocations: 112 kB / 1.313 GB, free: 30.97 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001121/2.75, allocations: 0.5206 MB / 1.313 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/2.75, allocations: 197.7 kB / 1.314 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/2.756, allocations: 4.24 MB / 1.318 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/2.756, allocations: 39.5 kB / 1.318 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/2.756, allocations: 7.047 kB / 1.318 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/2.756, allocations: 23.92 kB / 1.318 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00918/2.766, allocations: 6.776 MB / 1.324 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/2.766, allocations: 0 / 1.324 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/2.769, allocations: 0.6202 MB / 1.325 GB, free: 18.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/2.769, allocations: 74.53 kB / 1.325 GB, free: 18.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/2.769, allocations: 76.19 kB / 1.325 GB, free: 18.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/2.771, allocations: 3.956 MB / 1.329 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/2.771, allocations: 3.938 kB / 1.329 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/2.778, allocations: 6.053 MB / 1.335 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/2.78, allocations: 0.5921 MB / 1.335 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/2.78, allocations: 64 kB / 1.336 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/2.782, allocations: 159.7 kB / 1.336 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/2.782, allocations: 202.6 kB / 1.336 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/2.782, allocations: 111.9 kB / 1.336 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006492/2.783, allocations: 0.562 MB / 1.337 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/2.783, allocations: 0 / 1.337 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002184/2.785, allocations: 0.8787 MB / 1.337 GB, free: 5.117 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/2.786, allocations: 0.7053 MB / 1.338 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004681/2.791, allocations: 3.729 MB / 1.342 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/2.791, allocations: 0 / 1.342 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.3085/3.1, allocations: 2.218 MB / 1.344 GB, free: 83.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/3.104, allocations: 0.7255 MB / 1.345 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/3.117, allocations: 6.366 MB / 1.351 GB, free: 81.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/3.119, allocations: 1.609 MB / 1.352 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004677/3.123, allocations: 0.9585 MB / 1.353 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/3.124, allocations: 225.3 kB / 1.354 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/3.124, allocations: 0 / 1.354 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.07757/3.202, allocations: 41.12 MB / 1.394 GB, free: 78.88 MB / 0.5261 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)