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.001533/0.001533, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001514/0.001514, allocations: 189.2 kB / 17.2 MB, free: 5.953 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7969/0.7969, allocations: 135.2 MB / 426.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001852, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3173, allocations: 80.92 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.511/0.8284, allocations: 235.8 MB / 0.8154 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.8418, allocations: 10.41 MB / 0.8255 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.8445, allocations: 59.56 kB / 0.8256 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.8474, allocations: 1.188 MB / 0.8267 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008484/0.8559, allocations: 3.65 MB / 0.8303 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.8611, allocations: 2.059 MB / 0.8323 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005933/0.867, allocations: 4.454 MB / 0.8367 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.8697, allocations: 1.58 MB / 0.8382 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.8729, allocations: 1.595 MB / 0.8398 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.8762, allocations: 1.496 MB / 0.8412 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.8767, allocations: 190.2 kB / 0.8414 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007338/0.8841, allocations: 3.234 MB / 0.8446 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.8854, allocations: 0.695 MB / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.8881, allocations: 1.067 MB / 0.8463 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008543/0.8966, allocations: 3.789 MB / 0.85 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.8967, allocations: 4 kB / 0.85 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8967, allocations: 0 / 0.85 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.435e-05/0.8968, allocations: 0 / 0.85 GB, free: 9.047 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.006709/0.9035, allocations: 2.488 MB / 0.8524 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9036, allocations: 13.11 kB / 0.8524 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.9072, allocations: 0.5193 MB / 0.8529 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.9099, allocations: 1.226 MB / 0.8541 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.9101, allocations: 98.66 kB / 0.8542 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003736/0.9105, allocations: 143.7 kB / 0.8544 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.914, allocations: 1.669 MB / 0.856 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.914, allocations: 7.922 kB / 0.856 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.9142, allocations: 56 kB / 0.8561 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-05/0.9143, allocations: 73.2 kB / 0.8561 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.9172, allocations: 1.434 MB / 0.8575 GB, free: 1.293 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.009577/0.9268, allocations: 7.017 MB / 0.8644 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.9287, allocations: 1.19 MB / 0.8656 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/0.9297, allocations: 0.6084 MB / 0.8661 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/0.9307, allocations: 0.8583 MB / 0.867 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.9318, allocations: 0.6089 MB / 0.8676 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 4.558e-06/0.9318, allocations: 0 / 0.8676 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.003267/0.9351, allocations: 1.576 MB / 0.8691 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.9352, allocations: 90.11 kB / 0.8692 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.9369, allocations: 1.194 MB / 0.8704 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.937, allocations: 49.7 kB / 0.8704 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.9376, allocations: 0.6776 MB / 0.8711 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.938, allocations: 385.4 kB / 0.8714 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.9383, allocations: 178.6 kB / 0.8716 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9385, allocations: 345.9 kB / 0.8719 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007567/0.9393, allocations: 424.6 kB / 0.8724 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.9402, allocations: 0.5729 MB / 0.8729 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.9418, allocations: 1.011 MB / 0.8739 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9419, allocations: 4 kB / 0.8739 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002244/0.9441, allocations: 1.215 MB / 0.8751 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9441, allocations: 11.94 kB / 0.8751 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9442, allocations: 4 kB / 0.8751 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9442, allocations: 4 kB / 0.8751 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.9451, allocations: 219 kB / 0.8753 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.9452, allocations: 5.969 kB / 0.8753 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.9463, allocations: 103.7 kB / 0.8754 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.9464, allocations: 36 kB / 0.8755 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.9477, allocations: 0.7322 MB / 0.8762 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008578/0.9486, allocations: 0.5559 MB / 0.8767 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/0.9501, allocations: 0.9882 MB / 0.8777 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/0.9502, allocations: 3.938 kB / 0.8777 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002171/0.9523, allocations: 1.193 MB / 0.8788 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9524, allocations: 4 kB / 0.8788 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9524, allocations: 4 kB / 0.8789 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.9524, allocations: 11.94 kB / 0.8789 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.9533, allocations: 208.8 kB / 0.8791 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.9533, allocations: 13 kB / 0.8791 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.9544, allocations: 75.67 kB / 0.8791 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.9545, allocations: 36 kB / 0.8792 GB, free: 10.45 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.0003335/0.9549, allocations: 238.2 kB / 0.8794 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.9551, allocations: 154.2 kB / 0.8796 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.9575, allocations: 1.242 MB / 0.8808 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.9575, allocations: 15.98 kB / 0.8808 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9575, allocations: 0 / 0.8808 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001667/0.9592, allocations: 1.01 MB / 0.8818 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.9645, allocations: 3.152 MB / 0.8848 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9645, allocations: 4 kB / 0.8849 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.9656, allocations: 239.3 kB / 0.8851 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.9656, allocations: 4 kB / 0.8851 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.9657, allocations: 31.98 kB / 0.8851 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.9657, allocations: 8.062 kB / 0.8851 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9658, allocations: 8 kB / 0.8851 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.969, allocations: 1.99 MB / 0.8871 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/0.9697, allocations: 362.8 kB / 0.8874 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.9699, allocations: 27.98 kB / 0.8874 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.9708, allocations: 37.8 kB / 0.8875 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.971, allocations: 74.91 kB / 0.8876 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.9711, allocations: 39.98 kB / 0.8876 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001143/0.9722, allocations: 0.8336 MB / 0.8884 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9722, allocations: 0 / 0.8884 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001882/0.9741, allocations: 0.8338 MB / 0.8892 GB, free: 12 kB / 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.001851/0.976, allocations: 0.5743 MB / 0.8898 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.9797, allocations: 1.866 MB / 0.8916 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.9797, allocations: 0 / 0.8916 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009607/0.9807, allocations: 0.5691 MB / 0.8922 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004047/0.9848, allocations: 0.8835 MB / 0.893 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.9904, allocations: 3.407 MB / 0.8963 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.9915, allocations: 1.368 MB / 0.8977 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/0.9921, allocations: 119.4 kB / 0.8978 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of SimCode: time 2.906e-06/0.9921, allocations: 4 kB / 0.8978 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of Templates: time 0.03953/1.032, allocations: 25.42 MB / 0.9226 GB, free: 14.23 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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)