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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7642/0.7642, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 85.94 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.467e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1762, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.045/5.221, allocations: 1.885 GB / 2.525 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/5.221, allocations: 88.33 kB / 2.526 GB, free: 11.62 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.806/8.027, allocations: 0.6123 GB / 3.138 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.192e-06/8.027, allocations: 2.219 kB / 3.138 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001199/8.027, allocations: 23.11 kB / 3.138 GB, free: 119.7 MB / 0.6823 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.005764/8.033, allocations: 1.547 MB / 3.139 GB, free: 119 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/8.033, allocations: 10.5 kB / 3.139 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005267/8.033, allocations: 160.3 kB / 3.14 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/8.036, allocations: 334.4 kB / 3.14 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/8.038, allocations: 0.862 MB / 3.141 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/8.038, allocations: 81.58 kB / 3.141 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/8.039, allocations: 105.8 kB / 3.141 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/8.041, allocations: 1.093 MB / 3.142 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/8.041, allocations: 3.844 kB / 3.142 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/8.041, allocations: 38.75 kB / 3.142 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.868e-05/8.041, allocations: 61.39 kB / 3.142 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/8.043, allocations: 1.146 MB / 3.143 GB, free: 118.6 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.006982/8.05, allocations: 5.04 MB / 3.148 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/8.051, allocations: 0.9592 MB / 3.149 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/8.052, allocations: 0.4937 MB / 3.15 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/8.052, allocations: 13.38 kB / 3.15 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/8.053, allocations: 488.3 kB / 3.15 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/8.053, allocations: 0 / 3.15 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001498/8.054, allocations: 0.8363 MB / 3.151 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/8.054, allocations: 60.69 kB / 3.151 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/8.055, allocations: 0.5051 MB / 3.151 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/8.055, allocations: 44.67 kB / 3.151 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/8.056, allocations: 462.8 kB / 3.152 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/8.056, allocations: 264.8 kB / 3.152 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/8.056, allocations: 17.08 kB / 3.152 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001257/8.056, allocations: 385.8 kB / 3.152 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/8.056, allocations: 326.7 kB / 3.153 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/8.057, allocations: 463.5 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/8.058, allocations: 407 kB / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/8.058, allocations: 0 / 3.154 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001353/8.059, allocations: 0.927 MB / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/8.059, allocations: 7.469 kB / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/8.059, allocations: 0 / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/8.059, allocations: 7.031 kB / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/8.06, allocations: 155.4 kB / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/8.06, allocations: 13.17 kB / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/8.061, allocations: 132.2 kB / 3.155 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/8.061, allocations: 28.22 kB / 3.155 GB, free: 114.7 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/8.061, allocations: 143.5 kB / 3.155 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/8.062, allocations: 87.67 kB / 3.155 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/8.062, allocations: 110.9 kB / 3.155 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/8.062, allocations: 10.8 kB / 3.155 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/8.062, allocations: 2.562 kB / 3.155 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/8.063, allocations: 1.089 MB / 3.156 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/8.066, allocations: 2.183 MB / 3.158 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/8.066, allocations: 3.844 kB / 3.158 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008265/8.067, allocations: 175.6 kB / 3.159 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/8.067, allocations: 3.625 kB / 3.159 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/8.067, allocations: 20.61 kB / 3.159 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/8.067, allocations: 5.562 kB / 3.159 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/8.067, allocations: 0 / 3.159 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/8.069, allocations: 1.51 MB / 3.16 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/8.07, allocations: 256.4 kB / 3.16 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/8.07, allocations: 15.09 kB / 3.16 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/8.071, allocations: 92.77 kB / 3.16 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/8.071, allocations: 43.22 kB / 3.16 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/8.071, allocations: 32.42 kB / 3.16 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005142/8.072, allocations: 409 kB / 3.161 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/8.072, allocations: 0 / 3.161 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0018/8.074, allocations: 0.5087 MB / 3.161 GB, free: 113.2 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004412/8.078, allocations: 3.627 MB / 3.165 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001267/8.079, allocations: 0.8022 MB / 3.166 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/8.079, allocations: 2.719 kB / 3.166 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005178/8.08, allocations: 430.7 kB / 3.166 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/8.083, allocations: 0.5452 MB / 3.167 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/8.087, allocations: 2.061 MB / 3.169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/8.088, allocations: 1.161 MB / 3.17 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001265/8.09, allocations: 277.7 kB / 3.17 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/8.09, allocations: 374.1 kB / 3.17 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/8.09, allocations: 3.906 kB / 3.17 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09063/8.181, allocations: 55.27 MB / 3.224 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/8.181, allocations: 137.5 kB / 3.225 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/12.18, allocations: 0 / 3.225 GB, free: 87.96 MB / 0.6823 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/linux/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)