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.001658/0.001658, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001253/0.001253, allocations: 187 kB / 17.34 MB, free: 5.715 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8687/0.8687, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 65.17 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6258/0.7896, allocations: 236.4 MB / 0.8962 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.8077, allocations: 10.42 MB / 0.9064 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.8103, allocations: 59.69 kB / 0.9065 GB, free: 8.129 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.8138, allocations: 1.235 MB / 0.9077 GB, free: 6.887 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.8241, allocations: 3.781 MB / 0.9114 GB, free: 3.09 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006227/0.8303, allocations: 2.087 MB / 0.9134 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007488/0.8378, allocations: 4.447 MB / 0.9178 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.8404, allocations: 1.325 MB / 0.9191 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.844, allocations: 1.643 MB / 0.9207 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.8477, allocations: 1.498 MB / 0.9221 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004955/0.8482, allocations: 184 kB / 0.9223 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007504/0.8557, allocations: 3.254 MB / 0.9255 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.8569, allocations: 0.7204 MB / 0.9262 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.8588, allocations: 1.062 MB / 0.9272 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008512/0.8673, allocations: 3.835 MB / 0.931 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8673, allocations: 4 kB / 0.931 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8673, allocations: 0 / 0.931 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.052e-05/0.8674, allocations: 0 / 0.931 GB, free: 14.96 MB / 0.7012 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.006376/0.8738, allocations: 2.559 MB / 0.9335 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8738, allocations: 13.11 kB / 0.9335 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.8774, allocations: 0.5295 MB / 0.934 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.8802, allocations: 1.303 MB / 0.9353 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.8803, allocations: 102.7 kB / 0.9354 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.8805, allocations: 139.9 kB / 0.9355 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.8837, allocations: 1.681 MB / 0.9371 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.8837, allocations: 0 / 0.9371 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.8839, allocations: 56 kB / 0.9372 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.884, allocations: 82.5 kB / 0.9373 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.8867, allocations: 1.435 MB / 0.9387 GB, free: 6.875 MB / 0.7012 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.01011/0.8969, allocations: 6.971 MB / 0.9455 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.8989, allocations: 1.114 MB / 0.9466 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.8999, allocations: 0.5589 MB / 0.9471 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000998/0.9009, allocations: 0.8632 MB / 0.948 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.9021, allocations: 0.5986 MB / 0.9485 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.095e-06/0.9021, allocations: 0 / 0.9485 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.003495/0.9056, allocations: 1.585 MB / 0.9501 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.9056, allocations: 90.09 kB / 0.9502 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.9075, allocations: 1.195 MB / 0.9513 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9076, allocations: 45.7 kB / 0.9514 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/0.9083, allocations: 0.6904 MB / 0.9521 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/0.9088, allocations: 404.5 kB / 0.9524 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.9091, allocations: 178.6 kB / 0.9526 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.9093, allocations: 345.9 kB / 0.9529 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.9102, allocations: 424.6 kB / 0.9534 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009674/0.9111, allocations: 0.566 MB / 0.9539 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.9129, allocations: 1.016 MB / 0.9549 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9129, allocations: 0 / 0.9549 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002458/0.9154, allocations: 1.215 MB / 0.9561 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.9154, allocations: 8.25 kB / 0.9561 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9154, allocations: 8 kB / 0.9561 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.9154, allocations: 15.92 kB / 0.9561 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.9164, allocations: 212.8 kB / 0.9563 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.9164, allocations: 8 kB / 0.9563 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.9176, allocations: 101 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.9177, allocations: 43.92 kB / 0.9565 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001373/0.919, allocations: 0.7374 MB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000916/0.9199, allocations: 0.5612 MB / 0.9577 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001714/0.9217, allocations: 0.9932 MB / 0.9587 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.307e-06/0.9217, allocations: 0 / 0.9587 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002311/0.924, allocations: 1.192 MB / 0.9599 GB, free: 252 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.924, allocations: 8 kB / 0.9599 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.924, allocations: 4 kB / 0.9599 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.924, allocations: 7.938 kB / 0.9599 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.9249, allocations: 216.9 kB / 0.9601 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.9249, allocations: 11.94 kB / 0.9601 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.9261, allocations: 77.34 kB / 0.9602 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.9262, allocations: 39.97 kB / 0.9602 GB, free: 15.89 MB / 0.7325 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.0003557/0.9265, allocations: 244 kB / 0.9604 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.9268, allocations: 159 kB / 0.9606 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.9293, allocations: 1.237 MB / 0.9618 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.9294, allocations: 12 kB / 0.9618 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.9294, allocations: 4.109 kB / 0.9618 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001844/0.9312, allocations: 1.011 MB / 0.9628 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.9371, allocations: 3.159 MB / 0.9659 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9371, allocations: 320 / 0.9659 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.9383, allocations: 239.7 kB / 0.9661 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.9383, allocations: 8 kB / 0.9661 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.9384, allocations: 20 kB / 0.9661 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.745e-05/0.9384, allocations: 15.88 kB / 0.9662 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/0.9384, allocations: 4 kB / 0.9662 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.9419, allocations: 2.007 MB / 0.9681 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/0.9427, allocations: 363.8 kB / 0.9685 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.9429, allocations: 28 kB / 0.9685 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/0.9438, allocations: 43.84 kB / 0.9685 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.944, allocations: 72.91 kB / 0.9686 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.9441, allocations: 40.08 kB / 0.9686 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001289/0.9453, allocations: 0.8297 MB / 0.9695 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9453, allocations: 0 / 0.9695 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001986/0.9473, allocations: 0.8382 MB / 0.9703 GB, free: 5.352 MB / 0.7325 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.00197/0.9493, allocations: 0.5775 MB / 0.9708 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003157/0.9525, allocations: 1.517 MB / 0.9723 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.9525, allocations: 0 / 0.9723 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.9535, allocations: 0.5344 MB / 0.9728 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/0.9576, allocations: 0.8714 MB / 0.9737 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.9634, allocations: 3.445 MB / 0.9771 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.9646, allocations: 1.364 MB / 0.9784 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/0.9652, allocations: 119.4 kB / 0.9785 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of SimCode: time 8.61e-07/0.9652, allocations: 0 / 0.9785 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of Templates: time 0.04347/1.009, allocations: 25.71 MB / 1.004 GB, free: 3.418 MB / 0.7637 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)