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.007306/0.007305, allocations: 169.6 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.7329/0.7329, 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.602/1.602, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001245/0.001245, allocations: 100.5 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005802/0.0005803, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6642, allocations: 82.31 MB / 0.6495 GB, free: 36.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.291/4.955, allocations: 1.885 GB / 2.535 GB, free: 51.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/4.955, allocations: 93.02 kB / 2.535 GB, free: 51.66 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.524/7.479, allocations: 0.6128 GB / 3.147 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.375e-06/7.479, allocations: 0 / 3.147 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.387e-05/7.479, allocations: 28 kB / 3.147 GB, free: 112.8 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.005025/7.484, allocations: 1.676 MB / 3.149 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/7.484, allocations: 9.844 kB / 3.149 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/7.485, allocations: 167.4 kB / 3.149 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/7.487, allocations: 342.6 kB / 3.15 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/7.489, allocations: 0.8548 MB / 3.15 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/7.489, allocations: 83.05 kB / 3.151 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/7.489, allocations: 100.1 kB / 3.151 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/7.491, allocations: 1.118 MB / 3.152 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/7.491, allocations: 0 / 3.152 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/7.491, allocations: 45.06 kB / 3.152 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/7.492, allocations: 57.03 kB / 3.152 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/7.493, allocations: 1.167 MB / 3.153 GB, free: 111.8 MB / 0.6823 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.00734/7.501, allocations: 5.048 MB / 3.158 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/7.502, allocations: 0.9644 MB / 3.159 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/7.502, allocations: 22.11 kB / 3.159 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/7.503, allocations: 491.9 kB / 3.159 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.066e-06/7.503, allocations: 0 / 3.159 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001819/7.504, allocations: 1.171 MB / 3.16 GB, free: 109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/7.504, allocations: 61.7 kB / 3.161 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/7.505, allocations: 0.513 MB / 3.161 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/7.505, allocations: 38.55 kB / 3.161 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/7.505, allocations: 459.7 kB / 3.162 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/7.506, allocations: 273 kB / 3.162 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/7.506, allocations: 11.97 kB / 3.162 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001113/7.506, allocations: 389.7 kB / 3.162 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/7.506, allocations: 332.9 kB / 3.162 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/7.507, allocations: 470.3 kB / 3.163 GB, free: 108 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/7.507, allocations: 408.3 kB / 3.163 GB, free: 108 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/7.507, allocations: 3.469 kB / 3.163 GB, free: 108 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00119/7.508, allocations: 0.9389 MB / 3.164 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/7.508, allocations: 7.453 kB / 3.164 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/7.508, allocations: 3.812 kB / 3.164 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/7.508, allocations: 7.812 kB / 3.164 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/7.509, allocations: 151.2 kB / 3.164 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/7.509, allocations: 7.438 kB / 3.164 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/7.51, allocations: 135.7 kB / 3.165 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/7.51, allocations: 28.8 kB / 3.165 GB, free: 107.9 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 () * 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.000568/7.511, allocations: 328 kB / 3.165 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/7.511, allocations: 82 kB / 3.165 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/7.511, allocations: 116.3 kB / 3.165 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/7.511, allocations: 7.906 kB / 3.165 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/7.511, allocations: 2.734 kB / 3.165 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/7.512, allocations: 1.098 MB / 3.166 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/7.515, allocations: 2.159 MB / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/7.516, allocations: 0 / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/7.516, allocations: 179.3 kB / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/7.516, allocations: 3.75 kB / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/7.516, allocations: 23.66 kB / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/7.516, allocations: 6.203 kB / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/7.516, allocations: 0 / 3.168 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/7.518, allocations: 1.52 MB / 3.17 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/7.519, allocations: 255.2 kB / 3.17 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/7.519, allocations: 14.39 kB / 3.17 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/7.52, allocations: 104.2 kB / 3.17 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/7.52, allocations: 38.19 kB / 3.17 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/7.52, allocations: 34.08 kB / 3.17 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004578/7.52, allocations: 410.6 kB / 3.171 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.22e-07/7.52, allocations: 0 / 3.171 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001639/7.522, allocations: 0.5097 MB / 3.171 GB, free: 106.5 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 () * 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.004419/7.526, allocations: 3.629 MB / 3.175 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001192/7.528, allocations: 0.8166 MB / 3.176 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/7.528, allocations: 3.969 kB / 3.176 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/7.528, allocations: 433.5 kB / 3.176 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/7.531, allocations: 0.55 MB / 3.177 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/7.539, allocations: 7.525 MB / 3.184 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/7.539, allocations: 1.161 MB / 3.185 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001269/7.541, allocations: 276.8 kB / 3.185 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/7.541, allocations: 375.9 kB / 3.186 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.163e-06/7.541, allocations: 0 / 3.186 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0862/7.627, allocations: 50.83 MB / 3.235 GB, free: 99.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/7.628, allocations: 160.8 kB / 3.235 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.348/11.98, allocations: 4 kB / 3.235 GB, free: 99.27 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)