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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006229/0.00623, allocations: 170.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 135.2 MB / 151 MB, free: 13.8 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.498/1.498, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 94.95 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4978, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.155/5.653, allocations: 1.885 GB / 2.535 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/5.653, allocations: 91.95 kB / 2.535 GB, free: 91.55 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.258/7.911, allocations: 0.6129 GB / 3.147 GB, free: 5.004 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/7.911, allocations: 0 / 3.147 GB, free: 5.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.237e-05/7.911, allocations: 27.98 kB / 3.147 GB, free: 4.977 MB / 0.698 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.005768/7.917, allocations: 1.679 MB / 3.149 GB, free: 3.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/7.917, allocations: 12.03 kB / 3.149 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000324/7.917, allocations: 160.6 kB / 3.149 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/7.92, allocations: 350.1 kB / 3.15 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/7.922, allocations: 0.8589 MB / 3.15 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/7.922, allocations: 78 kB / 3.151 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/7.922, allocations: 104 kB / 3.151 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/7.924, allocations: 1.109 MB / 3.152 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/7.924, allocations: 7.906 kB / 3.152 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/7.924, allocations: 43.98 kB / 3.152 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.733e-05/7.925, allocations: 62.06 kB / 3.152 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6115/8.536, allocations: 1.157 MB / 3.153 GB, free: 123 MB / 0.698 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.008769/8.545, allocations: 5.038 MB / 3.158 GB, free: 120.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/8.547, allocations: 0.9585 MB / 3.159 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/8.547, allocations: 22.2 kB / 3.159 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000927/8.548, allocations: 489.2 kB / 3.159 GB, free: 120.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.928e-06/8.548, allocations: 4.875 kB / 3.159 GB, free: 120.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002402/8.55, allocations: 1.181 MB / 3.16 GB, free: 120.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/8.55, allocations: 66.19 kB / 3.161 GB, free: 120.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/8.551, allocations: 0.4985 MB / 3.161 GB, free: 120.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/8.551, allocations: 42.02 kB / 3.161 GB, free: 120 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/8.551, allocations: 468.8 kB / 3.162 GB, free: 119.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/8.552, allocations: 265.1 kB / 3.162 GB, free: 119.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/8.552, allocations: 13.78 kB / 3.162 GB, free: 119.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001579/8.552, allocations: 390.5 kB / 3.162 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/8.552, allocations: 337.9 kB / 3.162 GB, free: 119.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/8.553, allocations: 460.4 kB / 3.163 GB, free: 119.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/8.554, allocations: 407.8 kB / 3.163 GB, free: 119.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/8.554, allocations: 0 / 3.163 GB, free: 119.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001302/8.555, allocations: 0.9389 MB / 3.164 GB, free: 119.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/8.555, allocations: 7 kB / 3.164 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/8.555, allocations: 4.812 kB / 3.164 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/8.555, allocations: 7.219 kB / 3.164 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/8.556, allocations: 158.7 kB / 3.164 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/8.556, allocations: 5.906 kB / 3.164 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/8.557, allocations: 136.2 kB / 3.165 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/8.557, allocations: 30.94 kB / 3.165 GB, free: 119.2 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006992/8.558, allocations: 331.4 kB / 3.165 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/8.558, allocations: 83.75 kB / 3.165 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/8.558, allocations: 106.3 kB / 3.165 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/8.558, allocations: 7.594 kB / 3.165 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/8.558, allocations: 8.484 kB / 3.165 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/8.559, allocations: 1.099 MB / 3.166 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/8.563, allocations: 2.153 MB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/8.563, allocations: 1.312 kB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/8.564, allocations: 181.5 kB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/8.564, allocations: 3.312 kB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/8.564, allocations: 16.56 kB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/8.564, allocations: 3.438 kB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/8.564, allocations: 7.266 kB / 3.168 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/8.566, allocations: 1.518 MB / 3.17 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/8.567, allocations: 259.5 kB / 3.17 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/8.567, allocations: 15.08 kB / 3.17 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/8.568, allocations: 99.22 kB / 3.17 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/8.568, allocations: 45.25 kB / 3.17 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/8.568, allocations: 27.88 kB / 3.17 GB, free: 117.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000577/8.569, allocations: 416.3 kB / 3.171 GB, free: 117.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.569, allocations: 0 / 3.171 GB, free: 117.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002125/8.571, allocations: 0.5072 MB / 3.171 GB, free: 117.8 MB / 0.698 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 (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.006445/8.578, allocations: 3.636 MB / 3.175 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001949/8.58, allocations: 0.8193 MB / 3.176 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/8.58, allocations: 0 / 3.176 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/8.58, allocations: 436.5 kB / 3.176 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/8.583, allocations: 0.5588 MB / 3.177 GB, free: 116.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/8.592, allocations: 7.526 MB / 3.184 GB, free: 113.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/8.593, allocations: 1.163 MB / 3.185 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001233/8.594, allocations: 270.4 kB / 3.185 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/8.594, allocations: 376 kB / 3.186 GB, free: 112.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.873e-06/8.594, allocations: 5.297 kB / 3.186 GB, free: 112.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09106/8.686, allocations: 50.82 MB / 3.235 GB, free: 111.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/8.686, allocations: 167.4 kB / 3.235 GB, free: 111.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/12.71, allocations: 4 kB / 3.235 GB, free: 111.2 MB / 0.698 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/linux/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)