Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_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.001982/0.001982, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5197/0.5197, allocations: 90.8 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 348.3 MB, free: 500 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.0009182, allocations: 103.9 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.061e-05, allocations: 0 / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.305/4.713, allocations: 1.884 GB / 2.444 GB, free: 88.49 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/4.713, allocations: 88.7 kB / 2.444 GB, free: 88.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.108/8.821, allocations: 1.077 GB / 3.522 GB, free: 69.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.472e-06/8.821, allocations: 0 / 3.522 GB, free: 69.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001462/8.821, allocations: 44.61 kB / 3.522 GB, free: 69.92 MB / 0.6355 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.005978/8.827, allocations: 2.161 MB / 3.524 GB, free: 69.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/8.828, allocations: 15.39 kB / 3.524 GB, free: 69.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003473/8.828, allocations: 204.8 kB / 3.524 GB, free: 69.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/8.831, allocations: 0.5073 MB / 3.525 GB, free: 68.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/8.834, allocations: 1.272 MB / 3.526 GB, free: 68.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/8.834, allocations: 107.2 kB / 3.526 GB, free: 68.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/8.834, allocations: 141.3 kB / 3.526 GB, free: 68.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/8.837, allocations: 1.62 MB / 3.528 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/8.837, allocations: 7.656 kB / 3.528 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/8.837, allocations: 52.44 kB / 3.528 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/8.837, allocations: 57.78 kB / 3.528 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/8.839, allocations: 1.35 MB / 3.529 GB, free: 68.39 MB / 0.6355 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.007859/8.847, allocations: 7.182 MB / 3.536 GB, free: 64.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/8.848, allocations: 1.151 MB / 3.537 GB, free: 64.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/8.849, allocations: 0.5917 MB / 3.538 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/8.85, allocations: 0.8646 MB / 3.539 GB, free: 63.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008244/8.851, allocations: 0.5783 MB / 3.539 GB, free: 63.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.948e-06/8.851, allocations: 0 / 3.539 GB, free: 63.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.002171/8.853, allocations: 1.126 MB / 3.54 GB, free: 63.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/8.853, allocations: 91.48 kB / 3.54 GB, free: 63.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/8.854, allocations: 1.025 MB / 3.541 GB, free: 63.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.25e-05/8.854, allocations: 49.58 kB / 3.542 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/8.855, allocations: 0.6751 MB / 3.542 GB, free: 63.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/8.855, allocations: 386.5 kB / 3.543 GB, free: 62.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/8.855, allocations: 23.12 kB / 3.543 GB, free: 62.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001001/8.855, allocations: 349.5 kB / 3.543 GB, free: 62.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/8.856, allocations: 396.5 kB / 3.543 GB, free: 62.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/8.857, allocations: 0.5635 MB / 3.544 GB, free: 62.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/8.858, allocations: 481.6 kB / 3.544 GB, free: 62.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/8.858, allocations: 2.062 kB / 3.544 GB, free: 62.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001684/8.859, allocations: 1.176 MB / 3.545 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/8.859, allocations: 0.9793 MB / 3.546 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/8.859, allocations: 1.969 kB / 3.546 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/8.86, allocations: 7 kB / 3.546 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/8.86, allocations: 227.6 kB / 3.547 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/8.86, allocations: 7.281 kB / 3.547 GB, free: 61.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/8.862, allocations: 188.5 kB / 3.547 GB, free: 61.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/8.862, allocations: 38.67 kB / 3.547 GB, free: 61.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/8.862, allocations: 4.688 kB / 3.547 GB, free: 61.19 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/8.864, allocations: 1.016 MB / 3.548 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/8.864, allocations: 10.61 kB / 3.548 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/8.864, allocations: 7.656 kB / 3.548 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/8.865, allocations: 214.9 kB / 3.548 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/8.865, allocations: 11.16 kB / 3.548 GB, free: 61.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/8.866, allocations: 183.2 kB / 3.548 GB, free: 61.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.07e-05/8.866, allocations: 40.2 kB / 3.548 GB, free: 61.11 MB / 0.6355 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.0002811/8.866, allocations: 166 kB / 3.548 GB, free: 61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/8.867, allocations: 149.1 kB / 3.549 GB, free: 60.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/8.869, allocations: 1.215 MB / 3.55 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/8.869, allocations: 11.56 kB / 3.55 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/8.869, allocations: 1.031 kB / 3.55 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/8.87, allocations: 0.9752 MB / 3.551 GB, free: 60.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/8.875, allocations: 3.154 MB / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/8.875, allocations: 0 / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/8.876, allocations: 237.6 kB / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/8.876, allocations: 7.125 kB / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/8.877, allocations: 32.23 kB / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/8.877, allocations: 9.281 kB / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/8.877, allocations: 3.938 kB / 3.554 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/8.879, allocations: 1.998 MB / 3.556 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/8.88, allocations: 367.5 kB / 3.556 GB, free: 59.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/8.88, allocations: 27.06 kB / 3.556 GB, free: 59.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/8.881, allocations: 114.4 kB / 3.557 GB, free: 59.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/8.882, allocations: 71.73 kB / 3.557 GB, free: 59.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/8.882, allocations: 42.64 kB / 3.557 GB, free: 59.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001116/8.883, allocations: 0.7999 MB / 3.557 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/8.883, allocations: 2.062 kB / 3.557 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003022/8.886, allocations: 1.106 MB / 3.559 GB, free: 59.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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.007401/8.893, allocations: 5.981 MB / 3.564 GB, free: 56.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00263/8.896, allocations: 1.609 MB / 3.566 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/8.896, allocations: 0 / 3.566 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/8.897, allocations: 0.5457 MB / 3.566 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/8.901, allocations: 0.7989 MB / 3.567 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/8.906, allocations: 3.15 MB / 3.57 GB, free: 55.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/8.907, allocations: 1.402 MB / 3.572 GB, free: 54.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002332/8.909, allocations: 0.5879 MB / 3.572 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/8.91, allocations: 0.6015 MB / 3.573 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of SimCode: time 2.394e-06/8.91, allocations: 3.094 kB / 3.573 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/9.047, allocations: 86.87 MB / 3.658 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/9.047, allocations: 205.8 kB / 3.658 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.351/14.4, allocations: 2.719 kB / 3.658 GB, free: 24.98 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)