Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3311/0.3311, allocations: 54.41 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001479/0.001479, allocations: 179.5 kB / 75.61 MB, free: 0.7852 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.499/1.499, allocations: 194.3 MB / 283.5 MB, free: 14.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001754, allocations: 108.9 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.676e-05, allocations: 0 / 405.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4011, allocations: 57.65 MB / 463.1 MB, free: 51.75 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.525, allocations: 2.14 GB / 2.592 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/5.525, allocations: 85.5 kB / 2.592 GB, free: 135.6 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 2.94/8.465, allocations: 0.9259 GB / 3.518 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/8.465, allocations: 4 kB / 3.518 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001452/8.466, allocations: 51.98 kB / 3.518 GB, free: 464 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.3655/8.831, allocations: 2.268 MB / 3.521 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/8.831, allocations: 9.875 kB / 3.521 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/8.835, allocations: 0.5101 MB / 3.521 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/8.838, allocations: 1.339 MB / 3.522 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/8.838, allocations: 46.34 kB / 3.522 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/8.838, allocations: 88.66 kB / 3.522 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002328/8.841, allocations: 1.308 MB / 3.524 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/8.843, allocations: 1.517 MB / 3.525 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/8.843, allocations: 4.453 kB / 3.525 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/8.843, allocations: 10.16 kB / 3.525 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/8.844, allocations: 64.27 kB / 3.525 GB, free: 50.37 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.008917/8.852, allocations: 7.16 MB / 3.532 GB, free: 47.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/8.854, allocations: 1.122 MB / 3.533 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/8.855, allocations: 0.5511 MB / 3.534 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/8.855, allocations: 0.6915 MB / 3.535 GB, free: 46.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009556/8.856, allocations: 0.738 MB / 3.535 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 2.485e-06/8.856, allocations: 1.562 kB / 3.535 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.002172/8.858, allocations: 1.137 MB / 3.536 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/8.858, allocations: 379.1 kB / 3.537 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/8.859, allocations: 0.8836 MB / 3.538 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/8.859, allocations: 33.02 kB / 3.538 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/8.86, allocations: 0.7389 MB / 3.538 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/8.86, allocations: 370.5 kB / 3.539 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/8.861, allocations: 0 / 3.539 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/8.861, allocations: 349.4 kB / 3.539 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/8.861, allocations: 445.4 kB / 3.54 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/8.862, allocations: 0.681 MB / 3.54 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/8.863, allocations: 0.56 MB / 3.541 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/8.863, allocations: 0 / 3.541 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002075/8.865, allocations: 1.297 MB / 3.542 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003079/8.865, allocations: 1.183 MB / 3.543 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/8.865, allocations: 3.906 kB / 3.543 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/8.865, allocations: 14.56 kB / 3.543 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/8.866, allocations: 243.9 kB / 3.543 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/8.866, allocations: 10.95 kB / 3.543 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/8.868, allocations: 159.2 kB / 3.544 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/8.868, allocations: 49.47 kB / 3.544 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/8.868, allocations: 3 kB / 3.544 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001856/8.87, allocations: 1.145 MB / 3.545 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/8.87, allocations: 0 / 3.545 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/8.87, allocations: 10.16 kB / 3.545 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/8.871, allocations: 241.5 kB / 3.545 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/8.871, allocations: 9.453 kB / 3.545 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/8.873, allocations: 143.7 kB / 3.545 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/8.873, allocations: 46.27 kB / 3.545 GB, free: 42.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003071/8.874, allocations: 133.5 kB / 3.545 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/8.874, allocations: 141.4 kB / 3.545 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/8.876, allocations: 1.204 MB / 3.547 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/8.876, allocations: 11.25 kB / 3.547 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/8.876, allocations: 0 / 3.547 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/8.878, allocations: 0.9541 MB / 3.548 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006789/8.885, allocations: 3.054 MB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/8.885, allocations: 1.531 kB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/8.886, allocations: 244.9 kB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.423e-05/8.886, allocations: 4.562 kB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/8.886, allocations: 16.42 kB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/8.886, allocations: 10.97 kB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/8.886, allocations: 3.25 kB / 3.551 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/8.889, allocations: 1.937 MB / 3.553 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/8.89, allocations: 391.5 kB / 3.553 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/8.891, allocations: 7.234 kB / 3.553 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/8.892, allocations: 108.8 kB / 3.553 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/8.892, allocations: 65.17 kB / 3.553 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/8.892, allocations: 42.3 kB / 3.553 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001307/8.894, allocations: 0.6742 MB / 3.554 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/8.894, allocations: 0 / 3.554 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004144/8.898, allocations: 1.087 MB / 3.555 GB, free: 41.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005264/8.903, allocations: 3.091 MB / 3.558 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002809/8.906, allocations: 1.886 MB / 3.56 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/8.906, allocations: 7.062 kB / 3.56 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/8.907, allocations: 0.5238 MB / 3.56 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/8.911, allocations: 0.6849 MB / 3.561 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006219/8.917, allocations: 2.737 MB / 3.564 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/8.919, allocations: 1.434 MB / 3.565 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003232/8.922, allocations: 0.5537 MB / 3.566 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/8.922, allocations: 99.34 kB / 3.566 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/8.922, allocations: 0 / 3.566 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.06762/8.99, allocations: 42.3 MB / 3.607 GB, free: 36.03 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)