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.001532/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001966/0.001967, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.967/0.967, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.23 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.169, allocations: 80.92 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5522/0.7213, allocations: 233 MB / 0.8114 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.7376, allocations: 10.33 MB / 0.8215 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.7401, allocations: 51.69 kB / 0.8215 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.7436, allocations: 1.058 MB / 0.8226 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009927/0.7536, allocations: 3.44 MB / 0.8259 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005858/0.7595, allocations: 1.893 MB / 0.8278 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007093/0.7666, allocations: 4.456 MB / 0.8321 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.7697, allocations: 1.545 MB / 0.8336 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.7735, allocations: 1.631 MB / 0.8352 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/0.7777, allocations: 1.584 MB / 0.8368 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007775/0.7785, allocations: 184 kB / 0.8369 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008466/0.787, allocations: 3.374 MB / 0.8402 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.7881, allocations: 0.7011 MB / 0.8409 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.7899, allocations: 1.065 MB / 0.842 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.7984, allocations: 4.028 MB / 0.8459 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.7984, allocations: 4 kB / 0.8459 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7984, allocations: 0 / 0.8459 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.182e-05/0.7985, allocations: 0 / 0.8459 GB, free: 0.9023 MB / 0.6544 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.005688/0.8042, allocations: 2.482 MB / 0.8483 GB, free: 14.37 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8042, allocations: 12.03 kB / 0.8483 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.8077, allocations: 0.5205 MB / 0.8488 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.8099, allocations: 1.228 MB / 0.85 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.81, allocations: 98.66 kB / 0.8501 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.8103, allocations: 139.9 kB / 0.8503 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.8132, allocations: 1.674 MB / 0.8519 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.8132, allocations: 0 / 0.8519 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.8134, allocations: 59.98 kB / 0.852 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.555e-05/0.8135, allocations: 66.58 kB / 0.852 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.816, allocations: 1.443 MB / 0.8534 GB, free: 8.996 MB / 0.67 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.009755/0.8258, allocations: 6.953 MB / 0.8602 GB, free: 1.582 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.8277, allocations: 1.184 MB / 0.8614 GB, free: 372 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3555/1.183, allocations: 0.6106 MB / 0.862 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/1.184, allocations: 0.86 MB / 0.8628 GB, free: 221.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/1.185, allocations: 0.604 MB / 0.8634 GB, free: 221.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.427e-06/1.185, allocations: 0 / 0.8634 GB, free: 221.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.002978/1.188, allocations: 1.57 MB / 0.8649 GB, free: 220.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/1.188, allocations: 93.77 kB / 0.865 GB, free: 220.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/1.19, allocations: 1.191 MB / 0.8662 GB, free: 220.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.19, allocations: 51.2 kB / 0.8662 GB, free: 220.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/1.19, allocations: 0.6777 MB / 0.8669 GB, free: 219.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/1.191, allocations: 388.1 kB / 0.8673 GB, free: 219.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/1.191, allocations: 178.5 kB / 0.8674 GB, free: 219.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/1.191, allocations: 344.6 kB / 0.8678 GB, free: 219.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/1.192, allocations: 426.1 kB / 0.8682 GB, free: 219.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/1.193, allocations: 0.5692 MB / 0.8687 GB, free: 218.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/1.194, allocations: 1.017 MB / 0.8697 GB, free: 218.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.194, allocations: 0 / 0.8697 GB, free: 218.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002052/1.196, allocations: 1.219 MB / 0.8709 GB, free: 217.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.196, allocations: 5.656 kB / 0.8709 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.196, allocations: 3.031 kB / 0.8709 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/1.196, allocations: 8.812 kB / 0.8709 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/1.197, allocations: 215.4 kB / 0.8711 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.197, allocations: 13.84 kB / 0.8711 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.199, allocations: 164.8 kB / 0.8713 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/1.199, allocations: 32.84 kB / 0.8713 GB, free: 217.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/1.2, allocations: 0.7322 MB / 0.8721 GB, free: 217.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007497/1.201, allocations: 0.5552 MB / 0.8726 GB, free: 217.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001335/1.202, allocations: 0.9932 MB / 0.8736 GB, free: 216.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/1.202, allocations: 0 / 0.8736 GB, free: 216.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001974/1.204, allocations: 1.195 MB / 0.8747 GB, free: 216.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.204, allocations: 7.031 kB / 0.8747 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.204, allocations: 5.562 kB / 0.8747 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.204, allocations: 9.453 kB / 0.8748 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/1.205, allocations: 206.9 kB / 0.8749 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.205, allocations: 11.25 kB / 0.875 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.207, allocations: 144.8 kB / 0.8751 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/1.207, allocations: 39.41 kB / 0.8751 GB, free: 216 MB / 0.67 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.0003261/1.207, allocations: 241 kB / 0.8754 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/1.207, allocations: 150.1 kB / 0.8755 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/1.21, allocations: 1.235 MB / 0.8767 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.21, allocations: 11.03 kB / 0.8767 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.21, allocations: 0 / 0.8767 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/1.211, allocations: 1.016 MB / 0.8777 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/1.216, allocations: 3.157 MB / 0.8808 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.216, allocations: 3.938 kB / 0.8808 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.217, allocations: 237.5 kB / 0.881 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.217, allocations: 6.375 kB / 0.881 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/1.217, allocations: 29.39 kB / 0.8811 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.217, allocations: 6.438 kB / 0.8811 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.217, allocations: 4.812 kB / 0.8811 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/1.22, allocations: 1.996 MB / 0.883 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/1.22, allocations: 363.4 kB / 0.8834 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.221, allocations: 24.69 kB / 0.8834 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.222, allocations: 110.3 kB / 0.8835 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/1.222, allocations: 75.64 kB / 0.8836 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/1.222, allocations: 43.52 kB / 0.8836 GB, free: 211.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001012/1.223, allocations: 0.8296 MB / 0.8844 GB, free: 211.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/1.223, allocations: 0 / 0.8844 GB, free: 211.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002031/1.225, allocations: 0.8352 MB / 0.8852 GB, free: 211.5 MB / 0.67 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.00148/1.227, allocations: 0.587 MB / 0.8858 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00361/1.23, allocations: 1.862 MB / 0.8876 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.23, allocations: 0 / 0.8876 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/1.231, allocations: 0.5673 MB / 0.8882 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.235, allocations: 0.8788 MB / 0.889 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/1.241, allocations: 3.946 MB / 0.8929 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/1.242, allocations: 1.367 MB / 0.8942 GB, free: 207.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002675/1.245, allocations: 454.8 kB / 0.8947 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/1.246, allocations: 112.9 kB / 0.8948 GB, free: 207.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.362e-06/1.246, allocations: 0 / 0.8948 GB, free: 207.1 MB / 0.67 GB Notification: Performance of Templates: time 0.06355/1.309, allocations: 29.84 MB / 0.9239 GB, free: 200.5 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)