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.007032/0.007032, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001105/0.001105, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4068/0.4068, allocations: 54.94 MB / 324.8 MB, free: 104 kB / 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.001436/0.001436, allocations: 67.52 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 59.59 MB / 0.5038 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.4971/0.6105, allocations: 191.8 MB / 0.6911 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008749/0.6193, allocations: 5.653 MB / 0.6966 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.6213, allocations: 31.66 kB / 0.6966 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.6231, allocations: 0.5766 MB / 0.6972 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.629, allocations: 2.124 MB / 0.6993 GB, free: 15.43 MB / 0.5137 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.002142/0.6311, allocations: 0.7224 MB / 0.7 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.6349, allocations: 2.622 MB / 0.7025 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.6364, allocations: 0.7704 MB / 0.7033 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.6389, allocations: 0.9351 MB / 0.7042 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.6411, allocations: 0.8079 MB / 0.705 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.6415, allocations: 99.56 kB / 0.7051 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004898/0.6464, allocations: 1.84 MB / 0.7069 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000874/0.6473, allocations: 410.4 kB / 0.7073 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.6489, allocations: 0.561 MB / 0.7078 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.6542, allocations: 2.121 MB / 0.7099 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6543, allocations: 0 / 0.7099 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.61e-07/0.6543, allocations: 0 / 0.7099 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.843e-05/0.6543, allocations: 0 / 0.7099 GB, free: 13.37 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.004087/0.6584, allocations: 1.432 MB / 0.7113 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6585, allocations: 10.06 kB / 0.7113 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.6609, allocations: 316.2 kB / 0.7116 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6624, allocations: 0.738 MB / 0.7123 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.6624, allocations: 56.55 kB / 0.7124 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.6626, allocations: 71.83 kB / 0.7124 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.664, allocations: 0.8108 MB / 0.7132 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.6641, allocations: 3.906 kB / 0.7132 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.6641, allocations: 27.69 kB / 0.7133 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.6642, allocations: 47.27 kB / 0.7133 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.6655, allocations: 0.8026 MB / 0.7141 GB, free: 10.64 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.005103/0.6706, allocations: 3.639 MB / 0.7176 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.6715, allocations: 0.7079 MB / 0.7183 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.672, allocations: 356.8 kB / 0.7187 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.6721, allocations: 6.125 kB / 0.7187 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/0.6726, allocations: 372.9 kB / 0.719 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 2.544e-06/0.6726, allocations: 0 / 0.719 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.001432/0.6741, allocations: 0.8177 MB / 0.7198 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.6741, allocations: 60.62 kB / 0.7199 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.6747, allocations: 0.4929 MB / 0.7204 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.6748, allocations: 41.58 kB / 0.7204 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.6751, allocations: 363.4 kB / 0.7208 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.6753, allocations: 208 kB / 0.721 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.6755, allocations: 111.4 kB / 0.7211 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6756, allocations: 365.3 kB / 0.7214 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.676, allocations: 227.7 kB / 0.7216 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.6764, allocations: 336.8 kB / 0.7219 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.6773, allocations: 0.5873 MB / 0.7225 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.6773, allocations: 0.5625 kB / 0.7225 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00105/0.6783, allocations: 0.6725 MB / 0.7232 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6784, allocations: 5 kB / 0.7232 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6784, allocations: 10.5 kB / 0.7232 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.6784, allocations: 9.172 kB / 0.7232 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.6789, allocations: 123.5 kB / 0.7233 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.679, allocations: 5.656 kB / 0.7233 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/0.6797, allocations: 52.36 kB / 0.7234 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.6798, allocations: 18.84 kB / 0.7234 GB, free: 3.738 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.0004433/0.6802, allocations: 266.7 kB / 0.7236 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6804, allocations: 63.84 kB / 0.7237 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.6806, allocations: 88.06 kB / 0.7238 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6806, allocations: 8.25 kB / 0.7238 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.6806, allocations: 3.75 kB / 0.7238 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008972/0.6815, allocations: 0.7063 MB / 0.7245 GB, free: 2.703 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.002625/0.6842, allocations: 1.753 MB / 0.7262 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6842, allocations: 0 / 0.7262 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.6849, allocations: 154 kB / 0.7263 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.6849, allocations: 4 kB / 0.7264 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.685, allocations: 12 kB / 0.7264 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.685, allocations: 0 / 0.7264 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.685, allocations: 4 kB / 0.7264 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.6864, allocations: 1.067 MB / 0.7274 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.6868, allocations: 220.2 kB / 0.7276 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6869, allocations: 23.92 kB / 0.7276 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.6875, allocations: 19.98 kB / 0.7277 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.6876, allocations: 32.52 kB / 0.7277 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.6876, allocations: 27.98 kB / 0.7277 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003981/0.688, allocations: 342.9 kB / 0.728 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.688, allocations: 0 / 0.728 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008287/0.6889, allocations: 291.3 kB / 0.7283 GB, free: 14.68 MB / 0.5294 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.0002512/0.6891, allocations: 167.6 kB / 0.7285 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009337/0.6901, allocations: 0.5619 MB / 0.729 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6901, allocations: 4 kB / 0.729 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.6905, allocations: 295.1 kB / 0.7293 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.6926, allocations: 0.4885 MB / 0.7298 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.6953, allocations: 1.698 MB / 0.7315 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.696, allocations: 1.025 MB / 0.7325 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006812/0.6967, allocations: 193.6 kB / 0.7326 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.6969, allocations: 63.42 kB / 0.7327 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.6969, allocations: 0 / 0.7327 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.02595/0.7228, allocations: 15.69 MB / 0.748 GB, free: 10.57 MB / 0.545 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)