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.001357/0.001357, allocations: 172.2 kB / 7.647 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.7708/0.7708, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.478/1.478, 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.0009619/0.0009621, allocations: 95.92 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.24e-05, allocations: 0 / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4464, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.31/4.757, allocations: 1.893 GB / 2.527 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/4.757, allocations: 87.95 kB / 2.527 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.746/8.503, allocations: 1.063 GB / 3.589 GB, free: 85.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.647e-06/8.503, allocations: 0 / 3.589 GB, free: 85.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002514/8.503, allocations: 51.69 kB / 3.589 GB, free: 85.32 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.007465/8.511, allocations: 2.162 MB / 3.592 GB, free: 84.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/8.511, allocations: 7 kB / 3.592 GB, free: 84.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/8.514, allocations: 0.5182 MB / 3.592 GB, free: 84.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/8.517, allocations: 1.271 MB / 3.593 GB, free: 83.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/8.517, allocations: 47.7 kB / 3.593 GB, free: 83.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/8.518, allocations: 90.88 kB / 3.593 GB, free: 83.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002125/8.52, allocations: 1.195 MB / 3.595 GB, free: 83.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/8.522, allocations: 1.418 MB / 3.596 GB, free: 83.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.992e-05/8.522, allocations: 2.938 kB / 3.596 GB, free: 83.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/8.522, allocations: 2.844 kB / 3.596 GB, free: 83.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/8.522, allocations: 56.59 kB / 3.596 GB, free: 83.59 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.009221/8.532, allocations: 7.039 MB / 3.603 GB, free: 80.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/8.533, allocations: 1.221 MB / 3.604 GB, free: 79.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/8.534, allocations: 0.5673 MB / 3.605 GB, free: 79.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/8.535, allocations: 0.8737 MB / 3.605 GB, free: 78.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008738/8.536, allocations: 0.5879 MB / 3.606 GB, free: 78.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.207e-06/8.536, allocations: 0 / 3.606 GB, free: 78.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.002428/8.538, allocations: 1.139 MB / 3.607 GB, free: 78.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/8.538, allocations: 92.3 kB / 3.607 GB, free: 78.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/8.539, allocations: 0.8253 MB / 3.608 GB, free: 78.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/8.539, allocations: 29.45 kB / 3.608 GB, free: 78.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/8.54, allocations: 0.6832 MB / 3.609 GB, free: 78.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/8.54, allocations: 375.2 kB / 3.609 GB, free: 77.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/8.54, allocations: 0 / 3.609 GB, free: 77.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/8.54, allocations: 346 kB / 3.609 GB, free: 77.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/8.541, allocations: 411.5 kB / 3.61 GB, free: 77.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/8.541, allocations: 0.5741 MB / 3.61 GB, free: 77.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/8.542, allocations: 0.5025 MB / 3.611 GB, free: 77.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/8.542, allocations: 0 / 3.611 GB, free: 77.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001864/8.544, allocations: 1.179 MB / 3.612 GB, free: 77.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/8.544, allocations: 0.9857 MB / 3.613 GB, free: 76.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/8.544, allocations: 0 / 3.613 GB, free: 76.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/8.545, allocations: 7.156 kB / 3.613 GB, free: 76.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/8.546, allocations: 230.7 kB / 3.613 GB, free: 76.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/8.546, allocations: 7.562 kB / 3.613 GB, free: 76.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/8.547, allocations: 137 kB / 3.613 GB, free: 76.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.653e-05/8.547, allocations: 42.81 kB / 3.613 GB, free: 76.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/8.547, allocations: 12.22 kB / 3.613 GB, free: 76.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001596/8.549, allocations: 1.007 MB / 3.614 GB, free: 75.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/8.549, allocations: 3.75 kB / 3.614 GB, free: 75.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/8.549, allocations: 6.406 kB / 3.614 GB, free: 75.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/8.55, allocations: 226.3 kB / 3.615 GB, free: 75.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/8.55, allocations: 6.812 kB / 3.615 GB, free: 75.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/8.551, allocations: 122.6 kB / 3.615 GB, free: 75.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/8.551, allocations: 38.23 kB / 3.615 GB, free: 75.82 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.0002499/8.552, allocations: 137 kB / 3.615 GB, free: 75.69 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001667/8.553, allocations: 1.095 MB / 3.616 GB, free: 75.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/8.553, allocations: 141.8 kB / 3.616 GB, free: 75.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/8.556, allocations: 1.216 MB / 3.617 GB, free: 74.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/8.556, allocations: 11.38 kB / 3.617 GB, free: 74.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/8.556, allocations: 0 / 3.617 GB, free: 74.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001396/8.557, allocations: 1.008 MB / 3.618 GB, free: 74.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/8.562, allocations: 3.108 MB / 3.621 GB, free: 72.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/8.562, allocations: 3.938 kB / 3.621 GB, free: 72.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/8.563, allocations: 249.6 kB / 3.622 GB, free: 72.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/8.563, allocations: 9.25 kB / 3.622 GB, free: 72.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/8.563, allocations: 17.84 kB / 3.622 GB, free: 72.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/8.563, allocations: 8.156 kB / 3.622 GB, free: 72.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/8.563, allocations: 7 kB / 3.622 GB, free: 72.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/8.566, allocations: 2.134 MB / 3.624 GB, free: 71.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/8.567, allocations: 360.3 kB / 3.624 GB, free: 71.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/8.567, allocations: 9.219 kB / 3.624 GB, free: 71.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/8.568, allocations: 96.98 kB / 3.624 GB, free: 71.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/8.568, allocations: 72.22 kB / 3.624 GB, free: 71.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/8.568, allocations: 47.47 kB / 3.624 GB, free: 71.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008031/8.569, allocations: 0.6277 MB / 3.625 GB, free: 71.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/8.569, allocations: 0 / 3.625 GB, free: 71.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002564/8.572, allocations: 1.004 MB / 3.626 GB, free: 70.75 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.006688/8.578, allocations: 6.379 MB / 3.632 GB, free: 66.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002281/8.581, allocations: 1.629 MB / 3.634 GB, free: 65.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/8.581, allocations: 7.344 kB / 3.634 GB, free: 65.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/8.581, allocations: 0.541 MB / 3.634 GB, free: 64.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/8.585, allocations: 0.6943 MB / 3.635 GB, free: 64.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/8.59, allocations: 3.068 MB / 3.638 GB, free: 61.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/8.591, allocations: 1.403 MB / 3.639 GB, free: 60.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002303/8.593, allocations: 0.5673 MB / 3.64 GB, free: 60.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/8.594, allocations: 0.5954 MB / 3.64 GB, free: 59.54 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/8.594, allocations: 0 / 3.64 GB, free: 59.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09453/8.688, allocations: 57.32 MB / 3.696 GB, free: 4.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/8.688, allocations: 178.1 kB / 3.697 GB, free: 3.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.244/12.93, allocations: 0 / 3.697 GB, free: 3.82 MB / 0.698 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)