Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00104/0.00104, allocations: 198.6 kB / 16.14 MB, free: 6.707 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.279/1.279, 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/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.2 MB / 422.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 62.84 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 80.2 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4063/0.5394, allocations: 201.9 MB / 0.7767 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009152/0.5486, allocations: 6.444 MB / 0.783 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.5493, allocations: 35.81 kB / 0.783 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.5509, allocations: 0.6415 MB / 0.7836 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.5561, allocations: 2.521 MB / 0.7861 GB, free: 15.64 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.001362/0.5575, allocations: 0.6305 MB / 0.7867 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004212/0.5617, allocations: 4.824 MB / 0.7914 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.5628, allocations: 0.967 MB / 0.7924 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.5642, allocations: 1.089 MB / 0.7934 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.566, allocations: 1.155 MB / 0.7946 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.5661, allocations: 72 kB / 0.7946 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.5702, allocations: 2.716 MB / 0.7973 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.5707, allocations: 470.7 kB / 0.7977 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.5714, allocations: 0.6922 MB / 0.7984 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.5745, allocations: 2.887 MB / 0.8012 GB, free: 108 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5745, allocations: 0 / 0.8012 GB, free: 108 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5746, allocations: 4 kB / 0.8012 GB, free: 104 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.5746, allocations: 0 / 0.8012 GB, free: 104 kB / 0.6075 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.003795/0.5784, allocations: 1.771 MB / 0.803 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5784, allocations: 8.031 kB / 0.803 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.5786, allocations: 160.6 kB / 0.8031 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.5809, allocations: 346.1 kB / 0.8035 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5821, allocations: 0.8544 MB / 0.8043 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.5822, allocations: 82 kB / 0.8044 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.5824, allocations: 96 kB / 0.8045 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.5844, allocations: 1.191 MB / 0.8056 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.5844, allocations: 4 kB / 0.8056 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.88e-05/0.5845, allocations: 40 kB / 0.8057 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.197e-05/0.5846, allocations: 62.06 kB / 0.8057 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.5865, allocations: 1.238 MB / 0.8069 GB, free: 10.11 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.00586/0.5924, allocations: 5.056 MB / 0.8119 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.5938, allocations: 1.143 MB / 0.813 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.5945, allocations: 0.5018 MB / 0.8135 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.5946, allocations: 12.64 kB / 0.8135 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007336/0.5954, allocations: 492.2 kB / 0.814 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/0.5954, allocations: 3.938 kB / 0.814 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001907/0.5973, allocations: 1.157 MB / 0.8151 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.5973, allocations: 64 kB / 0.8152 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.598, allocations: 0.5706 MB / 0.8157 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.598, allocations: 41.7 kB / 0.8158 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.5983, allocations: 463.7 kB / 0.8162 GB, free: 36 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.5985, allocations: 280.1 kB / 0.8165 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5987, allocations: 122.7 kB / 0.8166 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.599, allocations: 386.8 kB / 0.8169 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.5994, allocations: 333.8 kB / 0.8173 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.6, allocations: 454.5 kB / 0.8177 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.6011, allocations: 0.8233 MB / 0.8185 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6011, allocations: 4 kB / 0.8185 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001335/0.6025, allocations: 0.9218 MB / 0.8194 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6025, allocations: 11.94 kB / 0.8194 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6025, allocations: 0 / 0.8194 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6025, allocations: 8 kB / 0.8194 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.6032, allocations: 160.1 kB / 0.8196 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.6032, allocations: 11.94 kB / 0.8196 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/0.6041, allocations: 139.2 kB / 0.8197 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.6041, allocations: 24 kB / 0.8197 GB, free: 12.29 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.0003799/0.6045, allocations: 325.6 kB / 0.8201 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6047, allocations: 83 kB / 0.8201 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.6049, allocations: 115.7 kB / 0.8202 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6049, allocations: 4 kB / 0.8202 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6049, allocations: 4 kB / 0.8203 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/0.6061, allocations: 1.089 MB / 0.8213 GB, free: 10.58 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.003102/0.6092, allocations: 2.312 MB / 0.8236 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6093, allocations: 4 kB / 0.8236 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.6101, allocations: 175.8 kB / 0.8237 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6101, allocations: 8.031 kB / 0.8238 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.6102, allocations: 19.98 kB / 0.8238 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6102, allocations: 4 kB / 0.8238 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6102, allocations: 0 / 0.8238 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.6121, allocations: 1.483 MB / 0.8252 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.6124, allocations: 248 kB / 0.8255 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6125, allocations: 19.98 kB / 0.8255 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.6133, allocations: 105.5 kB / 0.8256 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.6134, allocations: 40.59 kB / 0.8256 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.6135, allocations: 28.11 kB / 0.8256 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004531/0.6139, allocations: 415 kB / 0.826 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6139, allocations: 0 / 0.826 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007859/0.6147, allocations: 371 kB / 0.8264 GB, free: 5.254 MB / 0.6387 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.0023/0.617, allocations: 2.098 MB / 0.8284 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.6182, allocations: 0.802 MB / 0.8292 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6182, allocations: 4 kB / 0.8292 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.6187, allocations: 427.5 kB / 0.8296 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.6211, allocations: 0.5679 MB / 0.8302 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009742/0.6309, allocations: 7.873 MB / 0.8379 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.6316, allocations: 1.14 MB / 0.839 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009884/0.6326, allocations: 263.2 kB / 0.8392 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.6331, allocations: 379.3 kB / 0.8396 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6331, allocations: 0 / 0.8396 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.8804, allocations: 24.83 MB / 0.8639 GB, free: 223.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000116/0.8805, allocations: 182.5 kB / 0.864 GB, free: 223.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.125, allocations: 0 / 0.864 GB, free: 223.1 MB / 0.67 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)