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.00602/0.00602, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001163/0.001163, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.814/0.814, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.66 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1985, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7975/0.9961, allocations: 235.8 MB / 0.89 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01845/1.015, allocations: 10.41 MB / 0.9001 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/1.018, allocations: 63.62 kB / 0.9002 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003559/1.022, allocations: 1.232 MB / 0.9014 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/1.033, allocations: 3.777 MB / 0.9051 GB, free: 10.44 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006835/1.04, allocations: 2.08 MB / 0.9071 GB, free: 8.371 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007888/1.048, allocations: 4.455 MB / 0.9115 GB, free: 3.902 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/1.051, allocations: 1.582 MB / 0.913 GB, free: 2.285 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/1.055, allocations: 1.65 MB / 0.9146 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/1.059, allocations: 1.502 MB / 0.9161 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007717/1.06, allocations: 188 kB / 0.9163 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008061/1.068, allocations: 3.254 MB / 0.9195 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001409/1.07, allocations: 0.6973 MB / 0.9201 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002763/1.072, allocations: 1.065 MB / 0.9212 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.083, allocations: 3.822 MB / 0.9249 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.083, allocations: 0 / 0.9249 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.769e-06/1.083, allocations: 4 kB / 0.9249 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001658/1.084, allocations: 0 / 0.9249 GB, free: 6.082 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.008241/1.092, allocations: 2.486 MB / 0.9273 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.092, allocations: 8.031 kB / 0.9274 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/1.096, allocations: 0.5206 MB / 0.9279 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/1.099, allocations: 1.294 MB / 0.9291 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.099, allocations: 102.6 kB / 0.9292 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/1.1, allocations: 135.9 kB / 0.9294 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004504/1.104, allocations: 1.674 MB / 0.931 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.996e-05/1.104, allocations: 7.844 kB / 0.931 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/1.105, allocations: 63.97 kB / 0.9311 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/1.105, allocations: 66.58 kB / 0.9311 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/1.109, allocations: 1.444 MB / 0.9325 GB, free: 14.09 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.01249/1.121, allocations: 6.957 MB / 0.9393 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/1.124, allocations: 1.185 MB / 0.9405 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.125, allocations: 0.6084 MB / 0.9411 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/1.126, allocations: 0.8594 MB / 0.9419 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/1.127, allocations: 0.6102 MB / 0.9425 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/1.128, allocations: 0 / 0.9425 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.003622/1.131, allocations: 1.572 MB / 0.944 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/1.131, allocations: 90.11 kB / 0.9441 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/1.133, allocations: 1.19 MB / 0.9453 GB, free: 284 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.134, allocations: 49.7 kB / 0.9453 GB, free: 228 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/1.134, allocations: 0.6778 MB / 0.946 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/1.135, allocations: 390.3 kB / 0.9464 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/1.135, allocations: 178.6 kB / 0.9465 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.135, allocations: 341.9 kB / 0.9469 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/1.136, allocations: 420.6 kB / 0.9473 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/1.137, allocations: 0.569 MB / 0.9478 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/1.139, allocations: 1.02 MB / 0.9488 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.139, allocations: 4 kB / 0.9488 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002602/1.141, allocations: 1.203 MB / 0.95 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/1.142, allocations: 11.94 kB / 0.95 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.142, allocations: 4.312 kB / 0.95 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/1.142, allocations: 8 kB / 0.95 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.143, allocations: 215.7 kB / 0.9502 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/1.143, allocations: 4 kB / 0.9502 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.144, allocations: 102.9 kB / 0.9503 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.144, allocations: 40 kB / 0.9504 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001524/1.146, allocations: 0.737 MB / 0.9511 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008842/1.147, allocations: 0.5534 MB / 0.9516 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001641/1.148, allocations: 0.9893 MB / 0.9526 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.685e-06/1.148, allocations: 4 kB / 0.9526 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002434/1.151, allocations: 1.191 MB / 0.9538 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.151, allocations: 4 kB / 0.9538 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.151, allocations: 4 kB / 0.9538 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.151, allocations: 11.94 kB / 0.9538 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/1.152, allocations: 216 kB / 0.954 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/1.152, allocations: 11.94 kB / 0.954 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.153, allocations: 79.2 kB / 0.9541 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.153, allocations: 39.98 kB / 0.9541 GB, free: 7.035 MB / 0.7169 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.0003744/1.154, allocations: 234.1 kB / 0.9543 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/1.154, allocations: 154.2 kB / 0.9545 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/1.157, allocations: 1.24 MB / 0.9557 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.157, allocations: 15.94 kB / 0.9557 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.157, allocations: 0 / 0.9557 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00185/1.159, allocations: 1.018 MB / 0.9567 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006485/1.165, allocations: 3.155 MB / 0.9598 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.165, allocations: 4 kB / 0.9598 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.166, allocations: 236.1 kB / 0.96 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.241e-05/1.166, allocations: 7.938 kB / 0.96 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.166, allocations: 24 kB / 0.96 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.166, allocations: 11.92 kB / 0.9601 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.166, allocations: 4 kB / 0.9601 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/1.17, allocations: 1.995 MB / 0.962 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009255/1.171, allocations: 358.9 kB / 0.9624 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/1.171, allocations: 24 kB / 0.9624 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.173, allocations: 43.91 kB / 0.9624 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.173, allocations: 68.94 kB / 0.9625 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/1.173, allocations: 43.98 kB / 0.9625 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001872/1.175, allocations: 0.8297 MB / 0.9633 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/1.175, allocations: 0 / 0.9633 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003098/1.178, allocations: 0.8338 MB / 0.9641 GB, free: 12.54 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.001807/1.18, allocations: 0.5771 MB / 0.9647 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003412/1.183, allocations: 1.615 MB / 0.9663 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.183, allocations: 4 kB / 0.9663 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.184, allocations: 0.5656 MB / 0.9668 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/1.189, allocations: 0.8892 MB / 0.9677 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/1.196, allocations: 3.291 MB / 0.9709 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.197, allocations: 1.368 MB / 0.9723 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002029/1.199, allocations: 451.6 kB / 0.9727 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/1.2, allocations: 115.4 kB / 0.9728 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/1.2, allocations: 0 / 0.9728 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Templates: time 0.06034/1.26, allocations: 30.26 MB / 1.002 GB, free: 5.832 MB / 0.7637 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)