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.009049/0.009049, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.002154/0.002154, allocations: 198.1 kB / 16.68 MB, free: 5.973 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 63.91 kB / 0.5856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5536, allocations: 80.91 MB / 0.6646 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.8632/1.417, allocations: 235.8 MB / 0.895 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0188/1.436, allocations: 10.4 MB / 0.9051 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/1.44, allocations: 60.34 kB / 0.9052 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/1.444, allocations: 1.227 MB / 0.9064 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/1.456, allocations: 3.78 MB / 0.9101 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007552/1.464, allocations: 2.086 MB / 0.9121 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008695/1.473, allocations: 4.459 MB / 0.9164 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/1.476, allocations: 1.587 MB / 0.918 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005027/1.482, allocations: 1.644 MB / 0.9196 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/1.486, allocations: 1.5 MB / 0.9211 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009319/1.487, allocations: 183.6 kB / 0.9212 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/1.498, allocations: 3.263 MB / 0.9244 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001863/1.5, allocations: 0.6953 MB / 0.9251 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003736/1.503, allocations: 1.069 MB / 0.9261 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.515, allocations: 3.83 MB / 0.9299 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.515, allocations: 0 / 0.9299 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.086e-06/1.515, allocations: 1.031 kB / 0.9299 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001454/1.515, allocations: 0 / 0.9299 GB, free: 0.5352 MB / 0.6856 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.00907/1.524, allocations: 2.486 MB / 0.9323 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.524, allocations: 11 kB / 0.9323 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/1.528, allocations: 0.5156 MB / 0.9328 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/1.532, allocations: 1.287 MB / 0.9341 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/1.532, allocations: 106.8 kB / 0.9342 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004913/1.532, allocations: 137.6 kB / 0.9343 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/1.536, allocations: 1.664 MB / 0.9359 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/1.536, allocations: 10.88 kB / 0.936 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/1.536, allocations: 53.06 kB / 0.936 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-05/1.536, allocations: 71.41 kB / 0.9361 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/1.539, allocations: 1.447 MB / 0.9375 GB, free: 14.62 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.01092/1.55, allocations: 6.961 MB / 0.9443 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/1.552, allocations: 1.187 MB / 0.9454 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/1.553, allocations: 0.6128 MB / 0.946 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009683/1.554, allocations: 0.8634 MB / 0.9469 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.555, allocations: 0.6089 MB / 0.9475 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.526e-06/1.555, allocations: 2.312 kB / 0.9475 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.003273/1.559, allocations: 1.566 MB / 0.949 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.559, allocations: 92.08 kB / 0.9491 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/1.561, allocations: 1.193 MB / 0.9503 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/1.561, allocations: 50.14 kB / 0.9503 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000614/1.561, allocations: 0.6785 MB / 0.951 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/1.562, allocations: 381.4 kB / 0.9513 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.562, allocations: 174.3 kB / 0.9515 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.562, allocations: 350 kB / 0.9518 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/1.563, allocations: 421.9 kB / 0.9522 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/1.564, allocations: 0.5658 MB / 0.9528 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/1.566, allocations: 1.016 MB / 0.9538 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.566, allocations: 6.125 kB / 0.9538 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003006/1.569, allocations: 1.21 MB / 0.955 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.569, allocations: 5.938 kB / 0.955 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/1.569, allocations: 4.25 kB / 0.955 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.865e-05/1.569, allocations: 9.047 kB / 0.955 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.57, allocations: 214.7 kB / 0.9552 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/1.57, allocations: 14.44 kB / 0.9552 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.572, allocations: 103.9 kB / 0.9553 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.572, allocations: 38.45 kB / 0.9553 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001625/1.574, allocations: 0.7368 MB / 0.9561 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008573/1.575, allocations: 0.5533 MB / 0.9566 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001553/1.576, allocations: 0.9924 MB / 0.9576 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.973e-06/1.576, allocations: 2.719 kB / 0.9576 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002182/1.579, allocations: 1.195 MB / 0.9587 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.579, allocations: 6.031 kB / 0.9588 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.579, allocations: 3.562 kB / 0.9588 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.579, allocations: 7.875 kB / 0.9588 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/1.579, allocations: 210.1 kB / 0.959 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/1.58, allocations: 12.88 kB / 0.959 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.581, allocations: 83.08 kB / 0.9591 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/1.581, allocations: 39.05 kB / 0.9591 GB, free: 4.969 MB / 0.7012 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.0003273/1.581, allocations: 242.2 kB / 0.9593 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/1.582, allocations: 148.9 kB / 0.9595 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/1.584, allocations: 1.23 MB / 0.9607 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.584, allocations: 8.062 kB / 0.9607 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.584, allocations: 6.453 kB / 0.9607 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00163/1.586, allocations: 1.008 MB / 0.9617 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/1.591, allocations: 3.159 MB / 0.9647 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.592, allocations: 3 kB / 0.9648 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.593, allocations: 237.8 kB / 0.965 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/1.593, allocations: 12.25 kB / 0.965 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/1.593, allocations: 27.09 kB / 0.965 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.593, allocations: 8 kB / 0.965 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.593, allocations: 4 kB / 0.965 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.596, allocations: 1.993 MB / 0.967 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007782/1.597, allocations: 366.9 kB / 0.9673 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.597, allocations: 24 kB / 0.9673 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.598, allocations: 39.97 kB / 0.9674 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.599, allocations: 68.91 kB / 0.9675 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.599, allocations: 35.98 kB / 0.9675 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001318/1.6, allocations: 0.8297 MB / 0.9683 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.543e-06/1.6, allocations: 4 kB / 0.9683 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002412/1.602, allocations: 0.8406 MB / 0.9691 GB, free: 12.88 MB / 0.7169 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.001449/1.604, allocations: 0.5801 MB / 0.9697 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003116/1.607, allocations: 1.614 MB / 0.9713 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.607, allocations: 3.188 kB / 0.9713 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.608, allocations: 0.5744 MB / 0.9718 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/1.613, allocations: 0.8619 MB / 0.9727 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006403/1.619, allocations: 3.295 MB / 0.9759 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.62, allocations: 1.372 MB / 0.9772 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001974/1.622, allocations: 455.6 kB / 0.9777 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/1.623, allocations: 111.4 kB / 0.9778 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/1.623, allocations: 0 / 0.9778 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.05646/1.679, allocations: 30.25 MB / 1.007 GB, free: 6.426 MB / 0.7481 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)