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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3826/0.3826, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001503/0.001503, allocations: 71.89 kB / 395.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1199, allocations: 59.59 MB / 454.9 MB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.3791/0.499, allocations: 191.8 MB / 0.6316 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009058/0.5081, allocations: 5.644 MB / 0.6371 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.5092, allocations: 27.88 kB / 0.6371 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.5107, allocations: 0.5827 MB / 0.6377 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.296/0.8067, allocations: 2.124 MB / 0.6398 GB, free: 2.824 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.002198/0.8089, allocations: 0.7145 MB / 0.6404 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0033/0.8122, allocations: 2.625 MB / 0.643 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.8134, allocations: 0.7753 MB / 0.6438 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.815, allocations: 0.921 MB / 0.6447 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.8165, allocations: 0.8069 MB / 0.6455 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.8167, allocations: 94.75 kB / 0.6455 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.8202, allocations: 1.842 MB / 0.6473 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.8207, allocations: 409.1 kB / 0.6477 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.8213, allocations: 0.5573 MB / 0.6483 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.8242, allocations: 2.102 MB / 0.6503 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8242, allocations: 0 / 0.6503 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8243, allocations: 0.75 kB / 0.6503 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.8243, allocations: 0 / 0.6503 GB, free: 2.652 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.003188/0.8275, allocations: 1.431 MB / 0.6517 GB, free: 17.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.8275, allocations: 9.562 kB / 0.6517 GB, free: 17.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.8296, allocations: 310.1 kB / 0.652 GB, free: 17.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.8306, allocations: 0.7138 MB / 0.6527 GB, free: 17.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.8306, allocations: 52.56 kB / 0.6528 GB, free: 17.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.8307, allocations: 75.84 kB / 0.6529 GB, free: 17.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.8319, allocations: 0.8081 MB / 0.6536 GB, free: 17.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.832, allocations: 5.672 kB / 0.6536 GB, free: 17.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.8321, allocations: 29.23 kB / 0.6537 GB, free: 17.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.8321, allocations: 41.17 kB / 0.6537 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.8335, allocations: 0.7934 MB / 0.6545 GB, free: 17.52 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.004735/0.8382, allocations: 3.68 MB / 0.6581 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.8391, allocations: 0.7069 MB / 0.6588 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.8397, allocations: 350 kB / 0.6591 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.8397, allocations: 15.23 kB / 0.6591 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.8404, allocations: 367.8 kB / 0.6595 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 3.116e-06/0.8404, allocations: 0.9688 kB / 0.6595 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.001638/0.8421, allocations: 0.8148 MB / 0.6603 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.8421, allocations: 59.19 kB / 0.6603 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.8427, allocations: 0.4959 MB / 0.6608 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.8428, allocations: 39.92 kB / 0.6608 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.843, allocations: 364.1 kB / 0.6612 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.8432, allocations: 204.1 kB / 0.6614 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.8433, allocations: 106.1 kB / 0.6615 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8435, allocations: 369.5 kB / 0.6618 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.8439, allocations: 227.8 kB / 0.6621 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.8444, allocations: 340.1 kB / 0.6624 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.8452, allocations: 0.5842 MB / 0.663 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8452, allocations: 0.9062 kB / 0.663 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001367/0.8466, allocations: 0.6772 MB / 0.6636 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.8466, allocations: 5.969 kB / 0.6636 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.8466, allocations: 1.75 kB / 0.6636 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.8467, allocations: 8.125 kB / 0.6636 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.8473, allocations: 120.6 kB / 0.6637 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.8473, allocations: 12.75 kB / 0.6638 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.8481, allocations: 46.52 kB / 0.6638 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.8482, allocations: 19.33 kB / 0.6638 GB, free: 14.14 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.0005733/0.8488, allocations: 270.7 kB / 0.6641 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.8489, allocations: 65.88 kB / 0.6641 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.8491, allocations: 84.14 kB / 0.6642 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.8491, allocations: 11.92 kB / 0.6642 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.8492, allocations: 3.938 kB / 0.6642 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.8503, allocations: 0.7089 MB / 0.6649 GB, free: 13.72 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.003117/0.8534, allocations: 1.75 MB / 0.6666 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8534, allocations: 4.531 kB / 0.6666 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.8542, allocations: 149.2 kB / 0.6668 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.8542, allocations: 3.188 kB / 0.6668 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.8542, allocations: 15.11 kB / 0.6668 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8542, allocations: 4.297 kB / 0.6668 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8542, allocations: 2.734 kB / 0.6668 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.8559, allocations: 1.066 MB / 0.6679 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.8563, allocations: 228.4 kB / 0.6681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.8564, allocations: 12.03 kB / 0.6681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.857, allocations: 18.95 kB / 0.6681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.8571, allocations: 32.17 kB / 0.6681 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.8571, allocations: 25.52 kB / 0.6682 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004817/0.8576, allocations: 351.5 kB / 0.6685 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8576, allocations: 0.9062 kB / 0.6685 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008976/0.8585, allocations: 287.5 kB / 0.6688 GB, free: 12.8 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.0002548/0.8588, allocations: 157.5 kB / 0.6689 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.8601, allocations: 0.6839 MB / 0.6696 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.8601, allocations: 3.906 kB / 0.6696 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.8606, allocations: 297.6 kB / 0.6699 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.8628, allocations: 485.2 kB / 0.6703 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.8658, allocations: 1.735 MB / 0.672 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.8665, allocations: 1.027 MB / 0.673 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008474/0.8674, allocations: 193.1 kB / 0.6732 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.8676, allocations: 58.44 kB / 0.6733 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.8676, allocations: 4 kB / 0.6733 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.02548/0.8931, allocations: 15.36 MB / 0.6883 GB, free: 8.02 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.makefile (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)