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.001634/0.001634, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8044/0.8044, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009922/0.000992, allocations: 101.1 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.969e-05, allocations: 3.984 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4854, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.092/5.578, allocations: 1.884 GB / 2.518 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/5.578, allocations: 83.58 kB / 2.518 GB, free: 113.1 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.266/7.844, allocations: 0.6059 GB / 3.124 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.222e-06/7.844, allocations: 3.938 kB / 3.124 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001171/7.844, allocations: 28 kB / 3.124 GB, free: 34.4 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.005251/7.849, allocations: 1.551 MB / 3.126 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/7.849, allocations: 8.031 kB / 3.126 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/7.852, allocations: 334.2 kB / 3.126 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/7.855, allocations: 0.8705 MB / 3.127 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/7.855, allocations: 32 kB / 3.127 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/7.855, allocations: 56 kB / 3.127 GB, free: 31.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002498/7.858, allocations: 0.9919 MB / 3.128 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/7.86, allocations: 0.9568 MB / 3.129 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/7.86, allocations: 4 kB / 3.129 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/7.86, allocations: 0 / 3.129 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/7.86, allocations: 62.06 kB / 3.129 GB, free: 29.41 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.005545/7.866, allocations: 4.84 MB / 3.134 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/7.868, allocations: 3.389 MB / 3.137 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/7.868, allocations: 447.3 kB / 3.137 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/7.868, allocations: 16.92 kB / 3.137 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/7.869, allocations: 400.5 kB / 3.138 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.697e-06/7.869, allocations: 0 / 3.138 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.00114/7.87, allocations: 0.6908 MB / 3.139 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/7.87, allocations: 60.19 kB / 3.139 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/7.871, allocations: 422.3 kB / 3.139 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/7.871, allocations: 25.7 kB / 3.139 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/7.871, allocations: 459.5 kB / 3.139 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/7.871, allocations: 260.1 kB / 3.14 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/7.871, allocations: 4 kB / 3.14 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001124/7.871, allocations: 386.7 kB / 3.14 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/7.871, allocations: 261.5 kB / 3.14 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/7.872, allocations: 378.9 kB / 3.141 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/7.872, allocations: 344.4 kB / 3.141 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/7.872, allocations: 0 / 3.141 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009182/7.873, allocations: 0.7609 MB / 3.142 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/7.873, allocations: 4 kB / 3.142 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/7.873, allocations: 4 kB / 3.142 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/7.873, allocations: 8 kB / 3.142 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/7.874, allocations: 159.8 kB / 3.142 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/7.874, allocations: 8.281 kB / 3.142 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/7.875, allocations: 111.4 kB / 3.142 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/7.875, allocations: 31.94 kB / 3.142 GB, free: 14.89 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.0001114/7.875, allocations: 120.8 kB / 3.142 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007544/7.876, allocations: 0.6789 MB / 3.143 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/7.876, allocations: 79.16 kB / 3.143 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/7.876, allocations: 91.53 kB / 3.143 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/7.876, allocations: 8 kB / 3.143 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/7.876, allocations: 3.953 kB / 3.143 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007283/7.877, allocations: 0.9359 MB / 3.144 GB, free: 12.86 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 postOpt removeSimpleEquations (simulation): time 0.002625/7.879, allocations: 2.5 MB / 3.146 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/7.879, allocations: 0 / 3.146 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/7.88, allocations: 175.8 kB / 3.147 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/7.88, allocations: 4 kB / 3.147 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/7.88, allocations: 11.98 kB / 3.147 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/7.88, allocations: 7.938 kB / 3.147 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/7.88, allocations: 0 / 3.147 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/7.882, allocations: 1.247 MB / 3.148 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/7.882, allocations: 236.1 kB / 3.148 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/7.882, allocations: 0 / 3.148 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/7.883, allocations: 99.69 kB / 3.148 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/7.883, allocations: 48.72 kB / 3.148 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/7.883, allocations: 23.98 kB / 3.148 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003118/7.883, allocations: 330.9 kB / 3.148 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/7.883, allocations: 0 / 3.148 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001144/7.884, allocations: 446.9 kB / 3.149 GB, free: 7.527 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.003121/7.887, allocations: 3.56 MB / 3.152 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009097/7.888, allocations: 0.6572 MB / 3.153 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/7.888, allocations: 3.938 kB / 3.153 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/7.889, allocations: 346.8 kB / 3.153 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/7.891, allocations: 0.4915 MB / 3.154 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/7.894, allocations: 1.927 MB / 3.156 GB, free: 408 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4495/8.343, allocations: 1.154 MB / 3.157 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001278/8.345, allocations: 248.2 kB / 3.157 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/8.345, allocations: 375.3 kB / 3.157 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/8.345, allocations: 0 / 3.157 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/8.417, allocations: 35.65 MB / 3.192 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/8.417, allocations: 120.8 kB / 3.192 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/11.61, allocations: 3.906 kB / 3.192 GB, free: 116.7 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)