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.000766/0.0007693, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005466/0.005466, allocations: 170.3 kB / 16.27 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.708/0.708, allocations: 132.3 MB / 423.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 12 kB / 0.5041 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3335, allocations: 81.57 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1815/0.5151, allocations: 199.3 MB / 0.7783 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008355/0.5235, allocations: 6.369 MB / 0.7845 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.5242, allocations: 31.81 kB / 0.7846 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.5256, allocations: 0.6494 MB / 0.7852 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.5306, allocations: 2.513 MB / 0.7877 GB, free: 14.93 MB / 0.6231 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.001308/0.532, allocations: 0.6358 MB / 0.7883 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004019/0.536, allocations: 4.827 MB / 0.793 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.537, allocations: 0.9202 MB / 0.7939 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.5383, allocations: 1.039 MB / 0.7949 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.54, allocations: 1.11 MB / 0.796 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.5401, allocations: 56 kB / 0.796 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5438, allocations: 2.712 MB / 0.7987 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.5442, allocations: 446.6 kB / 0.7991 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005817/0.5448, allocations: 0.6705 MB / 0.7998 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.5475, allocations: 2.851 MB / 0.8026 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5476, allocations: 0 / 0.8026 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5476, allocations: 0 / 0.8026 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.5476, allocations: 0 / 0.8026 GB, free: 15.61 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.00323/0.5508, allocations: 1.523 MB / 0.804 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5509, allocations: 12.03 kB / 0.8041 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.551, allocations: 156.6 kB / 0.8042 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.5531, allocations: 354.1 kB / 0.8045 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.5542, allocations: 0.8467 MB / 0.8054 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.5543, allocations: 74.02 kB / 0.8054 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.5544, allocations: 100 kB / 0.8055 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.5562, allocations: 1.191 MB / 0.8067 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5562, allocations: 0 / 0.8067 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/0.5563, allocations: 51.94 kB / 0.8067 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.5564, allocations: 62 kB / 0.8068 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.5581, allocations: 1.242 MB / 0.808 GB, free: 9.859 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.005321/0.5634, allocations: 5.06 MB / 0.813 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.5647, allocations: 1.147 MB / 0.8141 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/0.5654, allocations: 0.5018 MB / 0.8146 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.5655, allocations: 20.64 kB / 0.8146 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006506/0.5661, allocations: 488.3 kB / 0.8151 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.225e-06/0.5661, allocations: 0 / 0.8151 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001729/0.5679, allocations: 1.161 MB / 0.8162 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.5679, allocations: 60.06 kB / 0.8162 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.5685, allocations: 0.5744 MB / 0.8168 GB, free: 284 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.5686, allocations: 41.7 kB / 0.8168 GB, free: 236 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.2206/0.7891, allocations: 454.2 kB / 0.8173 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.7895, allocations: 273.6 kB / 0.8175 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.7896, allocations: 65.69 kB / 0.8176 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7897, allocations: 385 kB / 0.818 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.7903, allocations: 331.7 kB / 0.8183 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.7909, allocations: 461.7 kB / 0.8187 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.7919, allocations: 0.8255 MB / 0.8195 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7919, allocations: 0.75 kB / 0.8195 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001308/0.7932, allocations: 0.932 MB / 0.8204 GB, free: 219 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.7932, allocations: 6.047 kB / 0.8205 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7932, allocations: 2.906 kB / 0.8205 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.7933, allocations: 10.03 kB / 0.8205 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.7939, allocations: 152.5 kB / 0.8206 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.794, allocations: 7.531 kB / 0.8206 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009048/0.7949, allocations: 135.6 kB / 0.8207 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.7949, allocations: 24.73 kB / 0.8208 GB, free: 218.9 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.0004197/0.7954, allocations: 331.3 kB / 0.8211 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.7955, allocations: 82.55 kB / 0.8212 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.7957, allocations: 109.8 kB / 0.8213 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.7957, allocations: 15.16 kB / 0.8213 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7957, allocations: 1.094 kB / 0.8213 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.7968, allocations: 1.085 MB / 0.8223 GB, free: 217.8 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.002901/0.7997, allocations: 2.304 MB / 0.8246 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7998, allocations: 0.6562 kB / 0.8246 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.8006, allocations: 181.2 kB / 0.8248 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.8006, allocations: 3.406 kB / 0.8248 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.8007, allocations: 23.73 kB / 0.8248 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.8007, allocations: 2.969 kB / 0.8248 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8007, allocations: 1.656 kB / 0.8248 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.8024, allocations: 1.492 MB / 0.8263 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.8027, allocations: 253.2 kB / 0.8265 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.8028, allocations: 12.52 kB / 0.8265 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.8036, allocations: 105.2 kB / 0.8266 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.8037, allocations: 42.25 kB / 0.8266 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.8037, allocations: 28.08 kB / 0.8267 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004109/0.8041, allocations: 413.6 kB / 0.8271 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8042, allocations: 0 / 0.8271 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007382/0.8049, allocations: 365.2 kB / 0.8274 GB, free: 215.4 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.001927/0.8068, allocations: 2.102 MB / 0.8295 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.8079, allocations: 0.8025 MB / 0.8303 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8079, allocations: 0 / 0.8303 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.8084, allocations: 428.9 kB / 0.8307 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.811, allocations: 0.5559 MB / 0.8312 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/0.8194, allocations: 7.994 MB / 0.839 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.8199, allocations: 1.141 MB / 0.8401 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008988/0.8209, allocations: 268.8 kB / 0.8404 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.8213, allocations: 377.8 kB / 0.8407 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.8213, allocations: 0 / 0.8407 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/0.9847, allocations: 24.62 MB / 0.8648 GB, free: 188.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000121/0.9848, allocations: 182.7 kB / 0.865 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/3.079, allocations: 7.922 kB / 0.865 GB, free: 188.2 MB / 0.6387 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)