Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001748/0.001748, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002071/0.002071, allocations: 192.1 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002659/0.002659, allocations: 287 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004237/0.004237, allocations: 102 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2551, allocations: 89.15 MB / 0.6928 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6045/0.8597, allocations: 201.9 MB / 0.89 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.8706, allocations: 6.448 MB / 0.8963 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.8721, allocations: 35.81 kB / 0.8963 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.8739, allocations: 0.6454 MB / 0.8969 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.8804, allocations: 2.514 MB / 0.8994 GB, free: 8.508 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.002272/0.8826, allocations: 0.635 MB / 0.9 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005717/0.8884, allocations: 4.838 MB / 0.9047 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.8899, allocations: 0.9679 MB / 0.9057 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.8922, allocations: 1.082 MB / 0.9067 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.8944, allocations: 1.152 MB / 0.9079 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.8946, allocations: 72 kB / 0.9079 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005355/0.9, allocations: 2.727 MB / 0.9106 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.9006, allocations: 466.7 kB / 0.911 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.9015, allocations: 0.6883 MB / 0.9117 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.9058, allocations: 2.886 MB / 0.9145 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9059, allocations: 0 / 0.9145 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.82e-07/0.9059, allocations: 0 / 0.9145 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.9059, allocations: 0 / 0.9145 GB, free: 8.961 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004237/0.9101, allocations: 1.769 MB / 0.9163 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.9102, allocations: 8.031 kB / 0.9163 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.9125, allocations: 346.2 kB / 0.9166 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.9141, allocations: 0.8505 MB / 0.9174 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.9141, allocations: 74 kB / 0.9175 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.9143, allocations: 100 kB / 0.9176 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.9164, allocations: 1.195 MB / 0.9188 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.9165, allocations: 3.938 kB / 0.9188 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.9166, allocations: 40 kB / 0.9188 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/0.9167, allocations: 62.06 kB / 0.9189 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.9189, allocations: 1.246 MB / 0.9201 GB, free: 3.137 MB / 0.6387 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.008773/0.9277, allocations: 5.069 MB / 0.925 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.9297, allocations: 1.158 MB / 0.9262 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.9305, allocations: 0.4973 MB / 0.9267 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.466e-05/0.9306, allocations: 16.64 kB / 0.9267 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008863/0.9315, allocations: 488.1 kB / 0.9271 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/0.9315, allocations: 4 kB / 0.9271 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002206/0.9337, allocations: 1.157 MB / 0.9283 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.9338, allocations: 63.94 kB / 0.9283 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.9345, allocations: 0.5744 MB / 0.9289 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.9346, allocations: 41.7 kB / 0.9289 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.935, allocations: 467.8 kB / 0.9294 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.9353, allocations: 268.1 kB / 0.9296 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.9355, allocations: 134.6 kB / 0.9298 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.9357, allocations: 386.8 kB / 0.9301 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.9362, allocations: 337.8 kB / 0.9305 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.9369, allocations: 440.8 kB / 0.9309 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.9381, allocations: 0.8271 MB / 0.9317 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.9381, allocations: 4 kB / 0.9317 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001504/0.9396, allocations: 0.9298 MB / 0.9326 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.9397, allocations: 7.984 kB / 0.9326 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.9397, allocations: 4 kB / 0.9326 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.9397, allocations: 8 kB / 0.9326 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.9404, allocations: 155.8 kB / 0.9328 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.9404, allocations: 8 kB / 0.9328 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.9415, allocations: 155.4 kB / 0.9329 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.9416, allocations: 27.98 kB / 0.9329 GB, free: 5.281 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (91): * Single equations (assignments): 91 * 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.0005807/0.9421, allocations: 329.5 kB / 0.9333 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.9423, allocations: 79.06 kB / 0.9333 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.9425, allocations: 111.8 kB / 0.9334 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.9425, allocations: 7.938 kB / 0.9334 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.9425, allocations: 8 kB / 0.9335 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/0.944, allocations: 1.093 MB / 0.9345 GB, free: 3.562 MB / 0.6544 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.003676/0.9476, allocations: 2.301 MB / 0.9368 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9477, allocations: 0 / 0.9368 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/0.9486, allocations: 179.8 kB / 0.9369 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.9487, allocations: 4 kB / 0.9369 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.9487, allocations: 16 kB / 0.937 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.9487, allocations: 4 kB / 0.937 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9487, allocations: 0 / 0.937 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.951, allocations: 1.358 MB / 0.9383 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.9515, allocations: 256 kB / 0.9385 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.9516, allocations: 16 kB / 0.9385 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.9525, allocations: 100.4 kB / 0.9386 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.9527, allocations: 44.58 kB / 0.9387 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.9527, allocations: 23.98 kB / 0.9387 GB, free: 15.15 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006394/0.9534, allocations: 415.1 kB / 0.9391 GB, free: 14.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9534, allocations: 0 / 0.9391 GB, free: 14.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00108/0.9545, allocations: 367 kB / 0.9395 GB, free: 14.39 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * 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 (76): * Single equations (assignments): 76 * 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.0003813/0.9549, allocations: 184 kB / 0.9396 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.9563, allocations: 0.8019 MB / 0.9404 GB, free: 13.39 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9563, allocations: 0 / 0.9404 GB, free: 13.39 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.957, allocations: 423.5 kB / 0.9408 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.9598, allocations: 0.5709 MB / 0.9414 GB, free: 12.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.9643, allocations: 2.639 MB / 0.944 GB, free: 9.754 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/0.9653, allocations: 1.136 MB / 0.9451 GB, free: 8.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00113/0.9664, allocations: 272.5 kB / 0.9453 GB, free: 8.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.9667, allocations: 71.44 kB / 0.9454 GB, free: 8.25 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/0.9667, allocations: 0 / 0.9454 GB, free: 8.25 MB / 0.67 GB Notification: Performance of Templates: time 0.0354/1.002, allocations: 18.26 MB / 0.9632 GB, free: 6.23 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)