Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow") translateModel(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008419, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006752/0.006752, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.471/1.471, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4027/0.4027, allocations: 55.02 MB / 325.8 MB, free: 0.6211 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. 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.0005599/0.00056, allocations: 12 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3763, allocations: 60.72 MB / 458 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.2238/0.6002, allocations: 187.1 MB / 0.6299 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008528/0.6088, allocations: 5.653 MB / 0.6355 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.61, allocations: 23.88 kB / 0.6355 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.6115, allocations: 0.5132 MB / 0.636 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004862/0.6163, allocations: 2.008 MB / 0.6379 GB, free: 3.559 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.6183, allocations: 0.6629 MB / 0.6386 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3213/0.9397, allocations: 3.74 MB / 0.6422 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.9408, allocations: 0.6273 MB / 0.6428 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.9425, allocations: 0.7667 MB / 0.6436 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.944, allocations: 0.8173 MB / 0.6444 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.9441, allocations: 37.41 kB / 0.6444 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.9475, allocations: 2.131 MB / 0.6465 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.9478, allocations: 339 kB / 0.6468 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007723/0.9486, allocations: 0.5187 MB / 0.6473 GB, free: 19.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.9518, allocations: 2.163 MB / 0.6495 GB, free: 19.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9519, allocations: 0 / 0.6495 GB, free: 19.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9519, allocations: 0 / 0.6495 GB, free: 19.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.9519, allocations: 4 kB / 0.6495 GB, free: 19.64 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002977/0.9549, allocations: 1.235 MB / 0.6507 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9549, allocations: 10.88 kB / 0.6507 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.9569, allocations: 316.4 kB / 0.651 GB, free: 18.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.958, allocations: 0.7104 MB / 0.6517 GB, free: 18.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.9581, allocations: 53.84 kB / 0.6517 GB, free: 18.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.9582, allocations: 71.78 kB / 0.6518 GB, free: 18.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.9594, allocations: 0.814 MB / 0.6526 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.9594, allocations: 2.062 kB / 0.6526 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.9595, allocations: 29.75 kB / 0.6526 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.9596, allocations: 36.33 kB / 0.6526 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.9607, allocations: 0.7994 MB / 0.6534 GB, free: 18.53 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.004247/0.9649, allocations: 3.636 MB / 0.657 GB, free: 16.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.9657, allocations: 0.7063 MB / 0.6577 GB, free: 16.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.9662, allocations: 350.7 kB / 0.658 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.9662, allocations: 9.547 kB / 0.658 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.9667, allocations: 374.4 kB / 0.6584 GB, free: 16.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 2.635e-06/0.9667, allocations: 0 / 0.6584 GB, free: 16.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.001383/0.9681, allocations: 0.8164 MB / 0.6592 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.9682, allocations: 59.98 kB / 0.6592 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.9688, allocations: 0.4975 MB / 0.6597 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.9688, allocations: 37.05 kB / 0.6597 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.969, allocations: 371.2 kB / 0.6601 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.9692, allocations: 201.6 kB / 0.6603 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.9693, allocations: 55.73 kB / 0.6603 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9694, allocations: 367.8 kB / 0.6607 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.9697, allocations: 230.4 kB / 0.6609 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.9701, allocations: 332.1 kB / 0.6612 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.9709, allocations: 0.585 MB / 0.6618 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9709, allocations: 5.156 kB / 0.6618 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001055/0.972, allocations: 0.673 MB / 0.6625 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.972, allocations: 5.844 kB / 0.6625 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.972, allocations: 2.688 kB / 0.6625 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.9721, allocations: 4.594 kB / 0.6625 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.9726, allocations: 120.8 kB / 0.6626 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.9726, allocations: 16.17 kB / 0.6626 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.9734, allocations: 92.66 kB / 0.6627 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.9734, allocations: 20.31 kB / 0.6627 GB, free: 15.13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003713/0.9738, allocations: 275.5 kB / 0.663 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.9739, allocations: 65.44 kB / 0.663 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.9741, allocations: 82.41 kB / 0.6631 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9741, allocations: 9.375 kB / 0.6631 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.9741, allocations: 3.938 kB / 0.6631 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008903/0.975, allocations: 0.7014 MB / 0.6638 GB, free: 14.71 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 postOpt removeSimpleEquations (simulation): time 0.002449/0.9775, allocations: 1.756 MB / 0.6655 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.9775, allocations: 4.453 kB / 0.6655 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.9782, allocations: 148.7 kB / 0.6657 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.9782, allocations: 5.562 kB / 0.6657 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.9783, allocations: 13.03 kB / 0.6657 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.9783, allocations: 3.219 kB / 0.6657 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9783, allocations: 0.5156 kB / 0.6657 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.9798, allocations: 1.066 MB / 0.6667 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.9802, allocations: 231.2 kB / 0.667 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.9803, allocations: 16.05 kB / 0.667 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.981, allocations: 65.62 kB / 0.667 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.9811, allocations: 32.5 kB / 0.6671 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.9811, allocations: 21.72 kB / 0.6671 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004802/0.9816, allocations: 355.8 kB / 0.6674 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9816, allocations: 4 kB / 0.6674 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008478/0.9825, allocations: 286.2 kB / 0.6677 GB, free: 13.78 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002427/0.9827, allocations: 153.5 kB / 0.6679 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.9836, allocations: 0.5603 MB / 0.6684 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9836, allocations: 1.625 kB / 0.6684 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.9841, allocations: 304 kB / 0.6687 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.9863, allocations: 462.7 kB / 0.6691 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.9898, allocations: 2.177 MB / 0.6713 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.9907, allocations: 1.023 MB / 0.6723 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001184/0.9919, allocations: 198 kB / 0.6724 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.9921, allocations: 58.78 kB / 0.6725 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of SimCode: time 1.253e-06/0.9921, allocations: 0 / 0.6725 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.02734/1.019, allocations: 14.61 MB / 0.6868 GB, free: 8.297 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) Environment - environmentSimulation: