Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_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.001089/0.001089, allocations: 173.9 kB / 7.648 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.833/0.833, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.542/1.542, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001052/0.001053, allocations: 103.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.579e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4451, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.348/4.794, allocations: 1.893 GB / 2.527 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/4.794, allocations: 89.95 kB / 2.527 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.722/8.516, allocations: 1.063 GB / 3.589 GB, free: 83.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/8.516, allocations: 0 / 3.589 GB, free: 83.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003099/8.516, allocations: 47.45 kB / 3.589 GB, free: 83.62 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.007861/8.524, allocations: 2.154 MB / 3.592 GB, free: 82.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/8.524, allocations: 7.688 kB / 3.592 GB, free: 82.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/8.528, allocations: 0.5188 MB / 3.592 GB, free: 81.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/8.532, allocations: 1.28 MB / 3.593 GB, free: 80.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/8.532, allocations: 47 kB / 3.593 GB, free: 80.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/8.532, allocations: 80.16 kB / 3.593 GB, free: 80.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/8.534, allocations: 1.199 MB / 3.595 GB, free: 80.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/8.537, allocations: 1.424 MB / 3.596 GB, free: 79.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/8.537, allocations: 0 / 3.596 GB, free: 79.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/8.537, allocations: 3.281 kB / 3.596 GB, free: 79.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/8.537, allocations: 64.05 kB / 3.596 GB, free: 79.52 MB / 0.698 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.008528/8.545, allocations: 7.028 MB / 3.603 GB, free: 72.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/8.547, allocations: 1.224 MB / 3.604 GB, free: 71.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/8.548, allocations: 0.5703 MB / 3.605 GB, free: 70.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/8.548, allocations: 0.8651 MB / 3.605 GB, free: 69.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008788/8.549, allocations: 0.5952 MB / 3.606 GB, free: 69.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 5.5e-06/8.549, allocations: 0 / 3.606 GB, free: 69.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.003313/8.553, allocations: 1.143 MB / 3.607 GB, free: 67.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/8.553, allocations: 86.42 kB / 3.607 GB, free: 67.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/8.554, allocations: 0.8278 MB / 3.608 GB, free: 66.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/8.555, allocations: 29.7 kB / 3.608 GB, free: 66.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/8.555, allocations: 0.6804 MB / 3.609 GB, free: 66.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/8.556, allocations: 370.4 kB / 3.609 GB, free: 65.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/8.556, allocations: 0 / 3.609 GB, free: 65.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/8.556, allocations: 349 kB / 3.609 GB, free: 65.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/8.556, allocations: 406.5 kB / 3.61 GB, free: 65.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/8.557, allocations: 0.5821 MB / 3.61 GB, free: 64.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/8.558, allocations: 0.5043 MB / 3.611 GB, free: 63.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/8.558, allocations: 0 / 3.611 GB, free: 63.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001818/8.56, allocations: 1.181 MB / 3.612 GB, free: 62.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/8.56, allocations: 0.9799 MB / 3.613 GB, free: 61.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/8.56, allocations: 4 kB / 3.613 GB, free: 61.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/8.56, allocations: 11.03 kB / 3.613 GB, free: 61.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/8.561, allocations: 223.7 kB / 3.613 GB, free: 61.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/8.561, allocations: 8 kB / 3.613 GB, free: 61.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/8.563, allocations: 132.4 kB / 3.613 GB, free: 61.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/8.563, allocations: 39.98 kB / 3.613 GB, free: 61.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/8.563, allocations: 4 kB / 3.613 GB, free: 61.36 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00157/8.564, allocations: 1.021 MB / 3.614 GB, free: 60.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/8.564, allocations: 2.25 kB / 3.614 GB, free: 60.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/8.564, allocations: 8 kB / 3.614 GB, free: 60.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/8.565, allocations: 215.7 kB / 3.615 GB, free: 60.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/8.565, allocations: 8 kB / 3.615 GB, free: 60.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/8.567, allocations: 137.4 kB / 3.615 GB, free: 59.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/8.567, allocations: 39.98 kB / 3.615 GB, free: 59.95 MB / 0.698 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 () * 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.0002602/8.567, allocations: 125.3 kB / 3.615 GB, free: 59.82 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001671/8.569, allocations: 1.103 MB / 3.616 GB, free: 58.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/8.569, allocations: 138.3 kB / 3.616 GB, free: 58.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/8.571, allocations: 1.207 MB / 3.617 GB, free: 57.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/8.571, allocations: 15.95 kB / 3.617 GB, free: 57.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.571, allocations: 0 / 3.617 GB, free: 57.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/8.573, allocations: 1.013 MB / 3.618 GB, free: 56.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/8.577, allocations: 3.11 MB / 3.621 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/8.577, allocations: 0 / 3.621 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/8.578, allocations: 247.7 kB / 3.622 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/8.578, allocations: 4 kB / 3.622 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/8.579, allocations: 26.61 kB / 3.622 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/8.579, allocations: 4 kB / 3.622 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/8.579, allocations: 11.59 kB / 3.622 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/8.581, allocations: 2.13 MB / 3.624 GB, free: 50.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/8.582, allocations: 359.1 kB / 3.624 GB, free: 50.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/8.582, allocations: 15.98 kB / 3.624 GB, free: 50.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/8.583, allocations: 98.28 kB / 3.624 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/8.583, allocations: 73.2 kB / 3.624 GB, free: 50.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/8.583, allocations: 43.3 kB / 3.624 GB, free: 50.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007787/8.584, allocations: 0.6305 MB / 3.625 GB, free: 49.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/8.584, allocations: 0 / 3.625 GB, free: 49.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002415/8.587, allocations: 1.009 MB / 3.626 GB, free: 48.4 MB / 0.698 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) * 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.00638/8.593, allocations: 6.364 MB / 3.632 GB, free: 42.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002292/8.595, allocations: 1.635 MB / 3.634 GB, free: 40.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/8.595, allocations: 0 / 3.634 GB, free: 40.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/8.596, allocations: 0.5449 MB / 3.634 GB, free: 40.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/8.6, allocations: 0.6985 MB / 3.635 GB, free: 39.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/8.605, allocations: 3.064 MB / 3.638 GB, free: 36.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/8.606, allocations: 1.405 MB / 3.639 GB, free: 34.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002309/8.608, allocations: 0.5663 MB / 3.64 GB, free: 34.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/8.609, allocations: 0.5968 MB / 3.64 GB, free: 33.71 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/8.609, allocations: 0 / 3.64 GB, free: 33.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5507/9.159, allocations: 57.32 MB / 3.696 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/9.159, allocations: 164.5 kB / 3.697 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.082/13.24, allocations: 3.562 kB / 3.697 GB, free: 101.6 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)