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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9787/0.9787, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1915, allocations: 82.32 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5075/0.699, allocations: 193.5 MB / 0.7762 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.7141, allocations: 10.33 MB / 0.7862 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.7165, allocations: 51.69 kB / 0.7863 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.7198, allocations: 1.066 MB / 0.7873 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008611/0.7284, allocations: 2.96 MB / 0.7902 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004561/0.733, allocations: 1.586 MB / 0.7918 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004758/0.7378, allocations: 2.543 MB / 0.7943 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.7395, allocations: 1.202 MB / 0.7954 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.742, allocations: 1.246 MB / 0.7966 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.7432, allocations: 0.9377 MB / 0.7976 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.7434, allocations: 76 kB / 0.7976 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.7468, allocations: 1.361 MB / 0.799 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.7473, allocations: 0.5297 MB / 0.7995 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.7478, allocations: 404.8 kB / 0.7999 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.7504, allocations: 2.369 MB / 0.8022 GB, free: 288 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.7504, allocations: 0 / 0.8022 GB, free: 288 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7504, allocations: 0 / 0.8022 GB, free: 288 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.7505, allocations: 0 / 0.8022 GB, free: 288 kB / 0.6075 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.004183/0.7547, allocations: 2.092 MB / 0.8042 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7547, allocations: 8.031 kB / 0.8042 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.7577, allocations: 0.5323 MB / 0.8048 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.7597, allocations: 1.186 MB / 0.8059 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/0.7597, allocations: 102.7 kB / 0.806 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.7599, allocations: 131.9 kB / 0.8061 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.7624, allocations: 1.65 MB / 0.8077 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.7625, allocations: 4 kB / 0.8078 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.7626, allocations: 63.91 kB / 0.8078 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.852e-05/0.7627, allocations: 70.58 kB / 0.8079 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.765, allocations: 1.439 MB / 0.8093 GB, free: 8.82 MB / 0.6231 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.007643/0.7726, allocations: 6.95 MB / 0.8161 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.7742, allocations: 1.201 MB / 0.8172 GB, free: 180 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.7749, allocations: 0.6931 MB / 0.8179 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009125/0.7758, allocations: 0.5986 MB / 0.8185 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.656e-06/0.7758, allocations: 0 / 0.8185 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.002752/0.7785, allocations: 1.576 MB / 0.82 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.7786, allocations: 90.06 kB / 0.8201 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.7799, allocations: 1.19 MB / 0.8213 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.78, allocations: 45.7 kB / 0.8213 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.7805, allocations: 0.6777 MB / 0.822 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.7808, allocations: 382.4 kB / 0.8224 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.7809, allocations: 23.94 kB / 0.8224 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.781, allocations: 345.9 kB / 0.8227 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.7816, allocations: 417.8 kB / 0.8231 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.7824, allocations: 0.5574 MB / 0.8237 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.7832, allocations: 0.491 MB / 0.8241 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7832, allocations: 0 / 0.8241 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001791/0.785, allocations: 1.21 MB / 0.8253 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.7855, allocations: 0.9859 MB / 0.8263 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.7855, allocations: 3.938 kB / 0.8263 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7855, allocations: 8 kB / 0.8263 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/0.7864, allocations: 216.8 kB / 0.8265 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.7865, allocations: 11.94 kB / 0.8265 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7877, allocations: 181.6 kB / 0.8267 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.7878, allocations: 39.98 kB / 0.8267 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.537e-06/0.7878, allocations: 4 kB / 0.8267 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001514/0.7893, allocations: 1.031 MB / 0.8277 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7893, allocations: 0 / 0.8277 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.7894, allocations: 8.312 kB / 0.8277 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.7902, allocations: 215.7 kB / 0.8279 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7902, allocations: 4.875 kB / 0.828 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.7913, allocations: 155 kB / 0.8281 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.7914, allocations: 39.98 kB / 0.8281 GB, free: 4.691 MB / 0.6387 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.0006947/0.7921, allocations: 484.8 kB / 0.8286 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7923, allocations: 154.1 kB / 0.8287 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.7942, allocations: 1.243 MB / 0.83 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7942, allocations: 12 kB / 0.83 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7943, allocations: 0 / 0.83 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/0.7957, allocations: 1.011 MB / 0.831 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004765/0.8005, allocations: 3.161 MB / 0.834 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8005, allocations: 0 / 0.834 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.8015, allocations: 244 kB / 0.8343 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.8016, allocations: 4 kB / 0.8343 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.8016, allocations: 31.98 kB / 0.8343 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.8017, allocations: 11.95 kB / 0.8343 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8017, allocations: 7.875 kB / 0.8343 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.8045, allocations: 2.135 MB / 0.8364 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000742/0.8052, allocations: 359.1 kB / 0.8368 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.8055, allocations: 25.06 kB / 0.8368 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.8066, allocations: 119.7 kB / 0.8369 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8068, allocations: 76.84 kB / 0.837 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-05/0.8068, allocations: 39.98 kB / 0.837 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001067/0.8079, allocations: 0.8141 MB / 0.8378 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8079, allocations: 0 / 0.8378 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001984/0.8099, allocations: 0.8338 MB / 0.8386 GB, free: 9.641 MB / 0.6544 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 (110): * Single equations (assignments): 108 * 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.001261/0.8112, allocations: 0.5881 MB / 0.8392 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.8138, allocations: 1.608 MB / 0.8408 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8138, allocations: 4.062 kB / 0.8408 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.8146, allocations: 0.5677 MB / 0.8413 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/0.8181, allocations: 0.8081 MB / 0.8421 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.8237, allocations: 4.008 MB / 0.846 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.8248, allocations: 1.399 MB / 0.8474 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001791/0.8266, allocations: 451.6 kB / 0.8478 GB, free: 324 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.827, allocations: 111.4 kB / 0.8479 GB, free: 216 kB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.827, allocations: 0 / 0.8479 GB, free: 216 kB / 0.6544 GB Notification: Performance of Templates: time 0.3333/1.16, allocations: 27.74 MB / 0.875 GB, free: 210.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: