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.007193/0.007192, 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.6927/0.6927, allocations: 135.2 MB / 151 MB, free: 13.78 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.634/1.634, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001089/0.001089, allocations: 103.1 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 12 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.5501, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.145/6.695, allocations: 1.894 GB / 2.543 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/6.696, allocations: 91.95 kB / 2.543 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.312/11.01, allocations: 1.075 GB / 3.618 GB, free: 28.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.312e-06/11.01, allocations: 0 / 3.618 GB, free: 28.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000135/11.01, allocations: 47.98 kB / 3.618 GB, free: 28.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.009483/11.02, allocations: 2.433 MB / 3.621 GB, free: 26.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 9.238e-05/11.02, allocations: 8.031 kB / 3.621 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001162/11.02, allocations: 210.6 kB / 3.621 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/11.02, allocations: 0.5128 MB / 3.621 GB, free: 25.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/11.03, allocations: 1.288 MB / 3.623 GB, free: 24.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/11.03, allocations: 102.7 kB / 3.623 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004128/11.03, allocations: 140 kB / 3.623 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/11.03, allocations: 1.653 MB / 3.624 GB, free: 22.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/11.03, allocations: 0 / 3.624 GB, free: 22.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/11.03, allocations: 59.94 kB / 3.624 GB, free: 22.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.939e-05/11.03, allocations: 62.58 kB / 3.625 GB, free: 21.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/11.04, allocations: 1.411 MB / 3.626 GB, free: 20.55 MB / 0.698 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.01236/11.05, allocations: 7.168 MB / 3.633 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/11.05, allocations: 1.181 MB / 3.634 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008961/11.05, allocations: 0.8711 MB / 3.635 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/11.06, allocations: 0.5954 MB / 3.636 GB, free: 10.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.498e-06/11.06, allocations: 0 / 3.636 GB, free: 10.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.004355/11.06, allocations: 1.58 MB / 3.637 GB, free: 8.441 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/11.06, allocations: 90.11 kB / 3.637 GB, free: 8.336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/11.06, allocations: 1.04 MB / 3.638 GB, free: 7.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/11.06, allocations: 53.7 kB / 3.638 GB, free: 7.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/11.06, allocations: 0.6777 MB / 3.639 GB, free: 6.539 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/11.06, allocations: 386.4 kB / 3.639 GB, free: 6.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/11.06, allocations: 20 kB / 3.639 GB, free: 6.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00011/11.06, allocations: 341.9 kB / 3.64 GB, free: 5.797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/11.06, allocations: 417.8 kB / 3.64 GB, free: 5.391 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/11.07, allocations: 0.5975 MB / 3.641 GB, free: 4.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/11.07, allocations: 0.5015 MB / 3.641 GB, free: 4.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/11.07, allocations: 0 / 3.641 GB, free: 4.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003077/11.07, allocations: 1.222 MB / 3.642 GB, free: 3.004 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/11.07, allocations: 0.9781 MB / 3.643 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/11.07, allocations: 7.953 kB / 3.643 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/11.07, allocations: 8 kB / 3.643 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/11.07, allocations: 227.6 kB / 3.643 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/11.07, allocations: 8 kB / 3.643 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/11.07, allocations: 170.9 kB / 3.644 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/11.07, allocations: 39.98 kB / 3.644 GB, free: 1.516 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/11.07, allocations: 9.031 kB / 3.644 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002429/11.08, allocations: 1.039 MB / 3.645 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/11.08, allocations: 4 kB / 3.645 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/11.08, allocations: 8 kB / 3.645 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/11.08, allocations: 211.7 kB / 3.645 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-05/11.08, allocations: 11.94 kB / 3.645 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/11.08, allocations: 163 kB / 3.645 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/11.08, allocations: 39.98 kB / 3.645 GB, free: 44 kB / 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 () * 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.001588/11.08, allocations: 496.7 kB / 3.646 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/11.08, allocations: 154.2 kB / 3.646 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/11.09, allocations: 1.25 MB / 3.647 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/11.09, allocations: 12 kB / 3.647 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/11.09, allocations: 0 / 3.647 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/11.09, allocations: 1.015 MB / 3.648 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008763/11.1, allocations: 3.19 MB / 3.651 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/11.1, allocations: 0 / 3.651 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/11.1, allocations: 251.6 kB / 3.651 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/11.1, allocations: 8 kB / 3.651 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/11.1, allocations: 31.98 kB / 3.651 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/11.1, allocations: 4.312 kB / 3.651 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/11.1, allocations: 8 kB / 3.651 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/11.11, allocations: 2.143 MB / 3.653 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/11.11, allocations: 378.8 kB / 3.654 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/11.11, allocations: 24 kB / 3.654 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/11.11, allocations: 111.8 kB / 3.654 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/11.11, allocations: 76.83 kB / 3.654 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/11.11, allocations: 39.98 kB / 3.654 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001763/11.11, allocations: 0.8258 MB / 3.655 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/11.11, allocations: 0 / 3.655 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005122/11.12, allocations: 1.099 MB / 3.656 GB, free: 4.645 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.5709/11.69, allocations: 6.152 MB / 3.662 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003893/11.69, allocations: 1.616 MB / 3.663 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/11.69, allocations: 1.656 kB / 3.663 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/11.69, allocations: 0.5587 MB / 3.664 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/11.7, allocations: 0.8135 MB / 3.665 GB, free: 88.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/11.71, allocations: 11.14 MB / 3.676 GB, free: 83.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/11.72, allocations: 1.401 MB / 3.677 GB, free: 82.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002234/11.72, allocations: 452.4 kB / 3.678 GB, free: 82.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/11.72, allocations: 0.6199 MB / 3.678 GB, free: 82.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/11.72, allocations: 0 / 3.678 GB, free: 82.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1817/11.9, allocations: 78.43 MB / 3.755 GB, free: 80.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/11.9, allocations: 216.9 kB / 3.755 GB, free: 80.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.742/16.64, allocations: 0 / 3.755 GB, free: 80.25 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)