Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 108 kB / 15.61 MB, free: 152 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.001649/0.001649, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8609/0.8609, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.62 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1238, allocations: 80.92 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.391/0.5148, allocations: 204.1 MB / 0.7838 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008797/0.5236, allocations: 6.364 MB / 0.79 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009316/0.5246, allocations: 35.81 kB / 0.7901 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.5263, allocations: 0.7343 MB / 0.7908 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.5317, allocations: 2.669 MB / 0.7934 GB, free: 6.836 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.001529/0.5332, allocations: 0.695 MB / 0.7941 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.5363, allocations: 3.284 MB / 0.7973 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.5375, allocations: 1.138 MB / 0.7984 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.5391, allocations: 1.25 MB / 0.7996 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.5406, allocations: 1.095 MB / 0.8007 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.5408, allocations: 128 kB / 0.8008 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.5444, allocations: 2.354 MB / 0.8031 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.5449, allocations: 0.5143 MB / 0.8036 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006672/0.5455, allocations: 0.743 MB / 0.8043 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.5484, allocations: 2.782 MB / 0.807 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5484, allocations: 0 / 0.807 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5484, allocations: 4 kB / 0.8071 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.5484, allocations: 0 / 0.8071 GB, free: 8.812 MB / 0.6231 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.003544/0.552, allocations: 1.765 MB / 0.8088 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.552, allocations: 12.03 kB / 0.8088 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.5522, allocations: 160.6 kB / 0.8089 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.5544, allocations: 350.1 kB / 0.8093 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.5555, allocations: 0.8428 MB / 0.8101 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.5556, allocations: 78 kB / 0.8102 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.5557, allocations: 103.9 kB / 0.8103 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.5575, allocations: 1.191 MB / 0.8114 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.5575, allocations: 0 / 0.8114 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.5576, allocations: 40 kB / 0.8115 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.5577, allocations: 62.06 kB / 0.8115 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.5594, allocations: 1.246 MB / 0.8127 GB, free: 2.828 MB / 0.6231 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.005496/0.5649, allocations: 5.122 MB / 0.8177 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5663, allocations: 1.146 MB / 0.8189 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.567, allocations: 0.5065 MB / 0.8194 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.567, allocations: 20.59 kB / 0.8194 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006497/0.5677, allocations: 488.2 kB / 0.8198 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.004e-06/0.5677, allocations: 0 / 0.8198 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001794/0.5695, allocations: 1.153 MB / 0.821 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.5695, allocations: 64 kB / 0.821 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.5701, allocations: 0.5744 MB / 0.8216 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.5702, allocations: 41.69 kB / 0.8216 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5704, allocations: 463.8 kB / 0.8221 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.5706, allocations: 272.1 kB / 0.8223 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.5708, allocations: 134.6 kB / 0.8225 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.571, allocations: 386.8 kB / 0.8228 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.5714, allocations: 325.8 kB / 0.8231 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.572, allocations: 458.5 kB / 0.8236 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.573, allocations: 0.8233 MB / 0.8244 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.573, allocations: 0 / 0.8244 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001252/0.5743, allocations: 0.9296 MB / 0.8253 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5743, allocations: 11.94 kB / 0.8253 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5743, allocations: 0 / 0.8253 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5744, allocations: 8 kB / 0.8253 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.575, allocations: 147.8 kB / 0.8255 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.5751, allocations: 16.27 kB / 0.8255 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.5758, allocations: 69.81 kB / 0.8255 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.5758, allocations: 24 kB / 0.8256 GB, free: 5.02 MB / 0.6387 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.0003656/0.5762, allocations: 329.6 kB / 0.8259 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5763, allocations: 86.5 kB / 0.826 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.5765, allocations: 111.7 kB / 0.8261 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.5765, allocations: 8 kB / 0.8261 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5765, allocations: 3.984 kB / 0.8261 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.5777, allocations: 1.085 MB / 0.8271 GB, free: 3.305 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 postOpt removeSimpleEquations (simulation): time 0.002737/0.5804, allocations: 2.305 MB / 0.8294 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5805, allocations: 0 / 0.8294 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008376/0.5813, allocations: 175.8 kB / 0.8296 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5813, allocations: 8.031 kB / 0.8296 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.5814, allocations: 19.98 kB / 0.8296 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5814, allocations: 4 kB / 0.8296 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5814, allocations: 3.938 kB / 0.8296 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.5832, allocations: 1.479 MB / 0.831 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.5835, allocations: 256 kB / 0.8313 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5836, allocations: 16 kB / 0.8313 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.5842, allocations: 26.05 kB / 0.8313 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.5843, allocations: 48.53 kB / 0.8314 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.5844, allocations: 24 kB / 0.8314 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004346/0.5848, allocations: 419 kB / 0.8318 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5848, allocations: 0 / 0.8318 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007485/0.5856, allocations: 367.1 kB / 0.8321 GB, free: 14.06 MB / 0.6544 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 (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.002127/0.5877, allocations: 2.106 MB / 0.8342 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.5894, allocations: 1.032 MB / 0.8352 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5894, allocations: 0 / 0.8352 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.5899, allocations: 427.5 kB / 0.8356 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.5925, allocations: 0.598 MB / 0.8362 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008494/0.601, allocations: 7.462 MB / 0.8435 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.6016, allocations: 1.136 MB / 0.8446 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009062/0.6025, allocations: 271.1 kB / 0.8448 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.603, allocations: 379.3 kB / 0.8452 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.603, allocations: 0 / 0.8452 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.724/2.327, allocations: 25.78 MB / 0.8704 GB, free: 221.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/16.19, allocations: 6.469 kB / 0.8704 GB, free: 221.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)