Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.01081/0.01081, allocations: 169.5 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.9303/0.9303, allocations: 135.2 MB / 151 MB, free: 13.84 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.737/1.737, 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.001035/0.001036, allocations: 95.97 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4827, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.292/5.775, allocations: 1.894 GB / 2.543 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.776, allocations: 95.2 kB / 2.543 GB, free: 43.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.352/10.13, allocations: 1.075 GB / 3.618 GB, free: 1.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/10.13, allocations: 224 / 3.618 GB, free: 1.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001585/10.13, allocations: 55.86 kB / 3.618 GB, free: 1.266 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00815/10.14, allocations: 2.433 MB / 3.621 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/10.14, allocations: 8.031 kB / 3.621 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000594/10.14, allocations: 198.6 kB / 3.621 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/10.14, allocations: 0.5205 MB / 3.621 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/10.14, allocations: 1.28 MB / 3.623 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/10.14, allocations: 106.7 kB / 3.623 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/10.14, allocations: 140 kB / 3.623 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/10.15, allocations: 1.653 MB / 3.624 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/10.15, allocations: 3.938 kB / 3.624 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/10.15, allocations: 60 kB / 3.624 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-05/10.15, allocations: 58.58 kB / 3.625 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/10.15, allocations: 1.408 MB / 3.626 GB, free: 9.195 MB / 0.7136 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.01068/10.16, allocations: 7.157 MB / 3.633 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/10.16, allocations: 1.195 MB / 3.634 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5396/10.7, allocations: 0.8605 MB / 3.635 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/10.7, allocations: 0.6081 MB / 3.636 GB, free: 83.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.918e-06/10.7, allocations: 3.625 kB / 3.636 GB, free: 83.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.004407/10.71, allocations: 1.571 MB / 3.637 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/10.71, allocations: 95.7 kB / 3.637 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/10.71, allocations: 1.04 MB / 3.638 GB, free: 83.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/10.71, allocations: 51.58 kB / 3.638 GB, free: 83.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007808/10.71, allocations: 0.6761 MB / 3.639 GB, free: 82.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/10.71, allocations: 386.5 kB / 3.639 GB, free: 82.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/10.71, allocations: 18.97 kB / 3.639 GB, free: 82.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001307/10.71, allocations: 344 kB / 3.64 GB, free: 82.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009281/10.71, allocations: 423.2 kB / 3.64 GB, free: 82.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009423/10.71, allocations: 0.5956 MB / 3.641 GB, free: 82.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/10.72, allocations: 499.8 kB / 3.641 GB, free: 82.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/10.72, allocations: 2.906 kB / 3.641 GB, free: 82.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002732/10.72, allocations: 1.221 MB / 3.642 GB, free: 82.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002979/10.72, allocations: 0.9895 MB / 3.643 GB, free: 81.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/10.72, allocations: 3.188 kB / 3.643 GB, free: 81.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/10.72, allocations: 7.656 kB / 3.643 GB, free: 81.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/10.72, allocations: 220.9 kB / 3.643 GB, free: 81.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/10.72, allocations: 11.59 kB / 3.643 GB, free: 81.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/10.72, allocations: 170.5 kB / 3.644 GB, free: 81.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/10.72, allocations: 37.09 kB / 3.644 GB, free: 81.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/10.72, allocations: 7.75 kB / 3.644 GB, free: 81.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00179/10.72, allocations: 1.035 MB / 3.645 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/10.72, allocations: 0 / 3.645 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/10.72, allocations: 7 kB / 3.645 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/10.72, allocations: 219.7 kB / 3.645 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/10.72, allocations: 9.312 kB / 3.645 GB, free: 81.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/10.73, allocations: 169.1 kB / 3.645 GB, free: 81.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/10.73, allocations: 42.14 kB / 3.645 GB, free: 81.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.001188/10.73, allocations: 496.4 kB / 3.646 GB, free: 80.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/10.73, allocations: 148.4 kB / 3.646 GB, free: 80.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/10.73, allocations: 1.251 MB / 3.647 GB, free: 80.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/10.73, allocations: 10.88 kB / 3.647 GB, free: 80.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/10.73, allocations: 4.562 kB / 3.647 GB, free: 80.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/10.73, allocations: 1.013 MB / 3.648 GB, free: 80.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/10.74, allocations: 3.185 MB / 3.651 GB, free: 80.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/10.74, allocations: 7.266 kB / 3.651 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/10.74, allocations: 244.4 kB / 3.651 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/10.74, allocations: 8.906 kB / 3.651 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/10.74, allocations: 27.23 kB / 3.651 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/10.74, allocations: 6.062 kB / 3.651 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/10.74, allocations: 5.125 kB / 3.651 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/10.74, allocations: 2.149 MB / 3.653 GB, free: 79.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/10.74, allocations: 370.5 kB / 3.654 GB, free: 79.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/10.74, allocations: 23.12 kB / 3.654 GB, free: 79.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/10.74, allocations: 121.8 kB / 3.654 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/10.74, allocations: 74.22 kB / 3.654 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/10.74, allocations: 44.08 kB / 3.654 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001167/10.75, allocations: 0.8135 MB / 3.655 GB, free: 79.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/10.75, allocations: 3.531 kB / 3.655 GB, free: 79.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003298/10.75, allocations: 1.097 MB / 3.656 GB, free: 79.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00905/10.76, allocations: 6.168 MB / 3.662 GB, free: 76.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002926/10.76, allocations: 1.614 MB / 3.663 GB, free: 76.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/10.76, allocations: 0 / 3.663 GB, free: 76.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008389/10.76, allocations: 0.5632 MB / 3.664 GB, free: 76.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/10.77, allocations: 0.8166 MB / 3.665 GB, free: 76.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/10.78, allocations: 11.14 MB / 3.676 GB, free: 71.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009959/10.78, allocations: 1.405 MB / 3.677 GB, free: 71.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002354/10.78, allocations: 463 kB / 3.678 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/10.79, allocations: 0.6127 MB / 3.678 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/10.79, allocations: 5.906 kB / 3.678 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/10.91, allocations: 78.44 MB / 3.755 GB, free: 68.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/10.91, allocations: 219.3 kB / 3.755 GB, free: 68.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.699/15.61, allocations: 0 / 3.755 GB, free: 68.39 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)