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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001056/0.001056, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001185/0.001185, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 422.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 55.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5423, allocations: 80.18 MB / 0.5802 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6722/1.215, allocations: 233 MB / 0.8077 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01723/1.232, allocations: 10.35 MB / 0.8178 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004066/1.236, allocations: 55.22 kB / 0.8179 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004348/1.24, allocations: 1.06 MB / 0.8189 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/1.252, allocations: 3.43 MB / 0.8222 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006393/1.259, allocations: 1.898 MB / 0.8241 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007553/1.266, allocations: 4.453 MB / 0.8284 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/1.269, allocations: 1.549 MB / 0.83 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/1.273, allocations: 1.623 MB / 0.8315 GB, free: 0 / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004226/1.278, allocations: 1.59 MB / 0.8331 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005651/1.278, allocations: 181.3 kB / 0.8333 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008749/1.287, allocations: 3.377 MB / 0.8366 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001454/1.288, allocations: 0.7009 MB / 0.8373 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/1.29, allocations: 1.065 MB / 0.8383 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005655/1.296, allocations: 2.866 MB / 0.8411 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.296, allocations: 0 / 0.8411 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/1.296, allocations: 0 / 0.8411 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.818e-05/1.296, allocations: 0 / 0.8411 GB, free: 12.31 MB / 0.5919 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.006353/1.303, allocations: 2.485 MB / 0.8435 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.303, allocations: 9.031 kB / 0.8435 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/1.306, allocations: 0.5271 MB / 0.844 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/1.309, allocations: 1.221 MB / 0.8452 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/1.309, allocations: 113.2 kB / 0.8453 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/1.309, allocations: 140.2 kB / 0.8455 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/1.312, allocations: 1.663 MB / 0.8471 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.312, allocations: 6.562 kB / 0.8471 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.312, allocations: 63.91 kB / 0.8472 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/1.312, allocations: 70.58 kB / 0.8472 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/1.315, allocations: 1.438 MB / 0.8486 GB, free: 6.508 MB / 0.5919 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.009343/1.324, allocations: 6.946 MB / 0.8554 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/1.326, allocations: 1.189 MB / 0.8566 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/1.327, allocations: 0.6121 MB / 0.8572 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/1.328, allocations: 0.8575 MB / 0.858 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/1.329, allocations: 0.6088 MB / 0.8586 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/1.329, allocations: 0 / 0.8586 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.00347/1.332, allocations: 1.567 MB / 0.8601 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/1.332, allocations: 98.09 kB / 0.8602 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/1.334, allocations: 1.195 MB / 0.8614 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/1.335, allocations: 45.7 kB / 0.8615 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/1.335, allocations: 0.6815 MB / 0.8621 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/1.336, allocations: 379.2 kB / 0.8625 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/1.336, allocations: 178.6 kB / 0.8626 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.337, allocations: 345.9 kB / 0.863 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/1.337, allocations: 428.6 kB / 0.8634 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/1.338, allocations: 0.5677 MB / 0.8639 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/1.34, allocations: 1.007 MB / 0.8649 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.34, allocations: 0 / 0.8649 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002277/1.342, allocations: 1.215 MB / 0.8661 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.342, allocations: 8 kB / 0.8661 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.342, allocations: 0 / 0.8661 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.342, allocations: 8 kB / 0.8661 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/1.343, allocations: 219.1 kB / 0.8663 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.343, allocations: 11.94 kB / 0.8663 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.345, allocations: 163.8 kB / 0.8665 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.741e-05/1.345, allocations: 43.98 kB / 0.8665 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001354/1.346, allocations: 0.7361 MB / 0.8673 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000779/1.347, allocations: 0.5534 MB / 0.8678 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/1.349, allocations: 0.993 MB / 0.8688 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/1.349, allocations: 6.469 kB / 0.8688 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002171/1.351, allocations: 1.184 MB / 0.8699 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.351, allocations: 15.97 kB / 0.87 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.351, allocations: 4 kB / 0.87 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.351, allocations: 7.938 kB / 0.87 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/1.352, allocations: 212.7 kB / 0.8702 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.352, allocations: 10.53 kB / 0.8702 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.353, allocations: 147.1 kB / 0.8703 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/1.353, allocations: 35.98 kB / 0.8704 GB, free: 15.58 MB / 0.6231 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000357/1.354, allocations: 239.6 kB / 0.8706 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.354, allocations: 146.2 kB / 0.8707 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.356, allocations: 1.245 MB / 0.8719 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.356, allocations: 12 kB / 0.8719 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.356, allocations: 7.922 kB / 0.872 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/1.358, allocations: 1.002 MB / 0.8729 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/1.363, allocations: 3.162 MB / 0.876 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/1.364, allocations: 0 / 0.876 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.365, allocations: 234 kB / 0.8762 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.365, allocations: 8 kB / 0.8762 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.211e-05/1.365, allocations: 24 kB / 0.8763 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.365, allocations: 10.62 kB / 0.8763 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.365, allocations: 4.281 kB / 0.8763 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.368, allocations: 1.998 MB / 0.8782 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/1.369, allocations: 358.9 kB / 0.8786 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.369, allocations: 28 kB / 0.8786 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.37, allocations: 104.5 kB / 0.8787 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.371, allocations: 87.31 kB / 0.8788 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.843e-05/1.371, allocations: 39.98 kB / 0.8788 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001154/1.372, allocations: 0.8219 MB / 0.8796 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/1.372, allocations: 0 / 0.8796 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002039/1.374, allocations: 0.8377 MB / 0.8804 GB, free: 5.086 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/1.375, allocations: 0.5874 MB / 0.881 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003779/1.379, allocations: 1.855 MB / 0.8828 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.379, allocations: 0 / 0.8828 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/1.38, allocations: 0.5737 MB / 0.8834 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/1.384, allocations: 0.8718 MB / 0.8842 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/1.39, allocations: 4.032 MB / 0.8882 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009308/1.391, allocations: 1.372 MB / 0.8895 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/1.391, allocations: 119.4 kB / 0.8896 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of SimCode: time 2.865e-06/1.391, allocations: 0 / 0.8896 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.04184/1.433, allocations: 25.42 MB / 0.9145 GB, free: 2.75 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)