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.002208/0.002208, allocations: 174.8 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 1.393/1.393, allocations: 133.4 MB / 146.7 MB, free: 10.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 3.459/3.459, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.001579/0.001579, allocations: 107.2 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-05/7.745e-05, allocations: 1.688 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.411, allocations: 82.3 MB / 0.6405 GB, free: 7.773 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.1/10.52, allocations: 1.885 GB / 2.525 GB, free: 45.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/10.52, allocations: 85.5 kB / 2.526 GB, free: 45.73 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 5.615/16.13, allocations: 0.6123 GB / 3.138 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.56e-06/16.13, allocations: 0 / 3.138 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002841/16.13, allocations: 27.62 kB / 3.138 GB, free: 112.1 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.01137/16.14, allocations: 1.549 MB / 3.139 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001066/16.14, allocations: 14.53 kB / 3.139 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/16.14, allocations: 163.9 kB / 3.14 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/16.15, allocations: 338.5 kB / 3.14 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/16.15, allocations: 0.8556 MB / 3.141 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/16.15, allocations: 80.94 kB / 3.141 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/16.15, allocations: 101.8 kB / 3.141 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/16.16, allocations: 1.095 MB / 3.142 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/16.16, allocations: 0 / 3.142 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/16.16, allocations: 48.05 kB / 3.142 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/16.16, allocations: 57.25 kB / 3.142 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/16.16, allocations: 1.145 MB / 3.143 GB, free: 111.1 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.01154/16.17, allocations: 5.041 MB / 3.148 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/16.17, allocations: 0.959 MB / 3.149 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/16.18, allocations: 0.4956 MB / 3.15 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/16.18, allocations: 15.77 kB / 3.15 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/16.18, allocations: 485.3 kB / 3.15 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 6.191e-06/16.18, allocations: 0 / 3.15 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.00269/16.18, allocations: 0.8416 MB / 3.151 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/16.18, allocations: 62.28 kB / 3.151 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/16.18, allocations: 0.5023 MB / 3.151 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/16.18, allocations: 43.17 kB / 3.151 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/16.18, allocations: 459.9 kB / 3.152 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/16.18, allocations: 269.8 kB / 3.152 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/16.18, allocations: 14.47 kB / 3.152 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002922/16.18, allocations: 389.6 kB / 3.152 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/16.18, allocations: 326.1 kB / 3.153 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009326/16.18, allocations: 452.5 kB / 3.153 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/16.19, allocations: 404.9 kB / 3.154 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/16.19, allocations: 3.781 kB / 3.154 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002721/16.19, allocations: 0.9239 MB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/16.19, allocations: 7.844 kB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/16.19, allocations: 3.625 kB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.705e-05/16.19, allocations: 7.094 kB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/16.19, allocations: 157.5 kB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.701e-05/16.19, allocations: 7.062 kB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/16.19, allocations: 134.4 kB / 3.155 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/16.19, allocations: 28.69 kB / 3.155 GB, free: 107.2 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.0003184/16.19, allocations: 145.2 kB / 3.155 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/16.19, allocations: 88.48 kB / 3.155 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/16.19, allocations: 109 kB / 3.155 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/16.19, allocations: 7.688 kB / 3.155 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/16.19, allocations: 3.75 kB / 3.155 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002295/16.2, allocations: 1.091 MB / 3.156 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/16.2, allocations: 2.177 MB / 3.158 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/16.2, allocations: 3.891 kB / 3.158 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/16.2, allocations: 183.8 kB / 3.159 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/16.2, allocations: 3.703 kB / 3.159 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/16.2, allocations: 16.72 kB / 3.159 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/16.2, allocations: 3.812 kB / 3.159 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/16.2, allocations: 0 / 3.159 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/16.21, allocations: 1.513 MB / 3.16 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/16.21, allocations: 249.1 kB / 3.16 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/16.21, allocations: 14.81 kB / 3.16 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/16.21, allocations: 99.66 kB / 3.16 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/16.21, allocations: 52.61 kB / 3.16 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/16.21, allocations: 21.72 kB / 3.16 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009287/16.21, allocations: 407.6 kB / 3.161 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/16.21, allocations: 3.094 kB / 3.161 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002843/16.21, allocations: 0.5097 MB / 3.161 GB, free: 105.7 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.007917/16.22, allocations: 3.612 MB / 3.165 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002286/16.23, allocations: 0.8088 MB / 3.166 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/16.23, allocations: 0 / 3.166 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009868/16.23, allocations: 429.9 kB / 3.166 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/16.23, allocations: 0.553 MB / 3.167 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009572/16.24, allocations: 2.066 MB / 3.169 GB, free: 104 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/16.24, allocations: 1.158 MB / 3.17 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002689/16.25, allocations: 271.8 kB / 3.17 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/16.25, allocations: 375.3 kB / 3.17 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.324e-06/16.25, allocations: 0 / 3.17 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/16.43, allocations: 55.28 MB / 3.224 GB, free: 101 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/16.43, allocations: 152.6 kB / 3.225 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/23.36, allocations: 0 / 3.225 GB, free: 100.8 MB / 0.6823 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)