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.302/0.302, allocations: 54.33 MB / 66.89 MB, free: 6.121 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.001199/0.001199, allocations: 183.9 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.823/1.823, allocations: 194.2 MB / 288.6 MB, free: 15.05 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.001778/0.001778, allocations: 111.6 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.938e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 57.65 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.501/5.631, allocations: 2.141 GB / 2.6 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/5.631, allocations: 84.33 kB / 2.6 GB, free: 139.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 3.507/9.138, allocations: 0.9366 GB / 3.536 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/9.138, allocations: 1.5 kB / 3.536 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002056/9.138, allocations: 47.42 kB / 3.536 GB, free: 47.09 MB / 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.009454/9.148, allocations: 2.279 MB / 3.539 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/9.148, allocations: 9.781 kB / 3.539 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/9.154, allocations: 0.5139 MB / 3.539 GB, free: 46.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005125/9.16, allocations: 1.333 MB / 3.54 GB, free: 45.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/9.16, allocations: 112.3 kB / 3.541 GB, free: 45.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/9.16, allocations: 151.3 kB / 3.541 GB, free: 45.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/9.165, allocations: 1.731 MB / 3.542 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/9.165, allocations: 1.375 kB / 3.542 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/9.166, allocations: 70.28 kB / 3.542 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/9.166, allocations: 59.91 kB / 3.543 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/9.17, allocations: 1.469 MB / 3.544 GB, free: 45.75 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.01511/9.185, allocations: 7.33 MB / 3.551 GB, free: 42.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/9.187, allocations: 1.056 MB / 3.552 GB, free: 42.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/9.188, allocations: 0.5625 MB / 3.553 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/9.189, allocations: 0.681 MB / 3.553 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/9.191, allocations: 0.7336 MB / 3.554 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 6.031e-06/9.191, allocations: 1.094 kB / 3.554 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.003532/9.195, allocations: 1.112 MB / 3.555 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/9.195, allocations: 374 kB / 3.556 GB, free: 40.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/9.197, allocations: 1.147 MB / 3.557 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/9.197, allocations: 51.42 kB / 3.557 GB, free: 40.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00081/9.198, allocations: 0.7306 MB / 3.557 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/9.199, allocations: 376.2 kB / 3.558 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/9.199, allocations: 26.59 kB / 3.558 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/9.199, allocations: 352.2 kB / 3.558 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/9.2, allocations: 432.2 kB / 3.559 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/9.202, allocations: 0.6815 MB / 3.559 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/9.203, allocations: 0.5569 MB / 3.56 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/9.203, allocations: 3.844 kB / 3.56 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003434/9.207, allocations: 1.33 MB / 3.561 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003308/9.207, allocations: 1.201 MB / 3.562 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/9.207, allocations: 6.422 kB / 3.562 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/9.207, allocations: 7.562 kB / 3.562 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/9.209, allocations: 233.5 kB / 3.562 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.804e-05/9.209, allocations: 12.25 kB / 3.562 GB, free: 38.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/9.212, allocations: 212.6 kB / 3.563 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/9.212, allocations: 47.11 kB / 3.563 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/9.212, allocations: 3.156 kB / 3.563 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003036/9.215, allocations: 1.18 MB / 3.564 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/9.215, allocations: 2.781 kB / 3.564 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/9.215, allocations: 9.062 kB / 3.564 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/9.217, allocations: 234.5 kB / 3.564 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/9.217, allocations: 14.53 kB / 3.564 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/9.22, allocations: 187.8 kB / 3.564 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/9.22, allocations: 48.08 kB / 3.564 GB, free: 37.98 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.0004232/9.22, allocations: 177.9 kB / 3.565 GB, free: 37.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/9.221, allocations: 157.1 kB / 3.565 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/9.224, allocations: 1.205 MB / 3.566 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/9.224, allocations: 13 kB / 3.566 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/9.224, allocations: 0 / 3.566 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002124/9.226, allocations: 0.9241 MB / 3.567 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007265/9.233, allocations: 3.119 MB / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/9.233, allocations: 0 / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/9.235, allocations: 236.3 kB / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/9.235, allocations: 9.172 kB / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/9.235, allocations: 28.25 kB / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/9.235, allocations: 7.031 kB / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/9.235, allocations: 0 / 3.57 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/9.24, allocations: 1.896 MB / 3.572 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/9.241, allocations: 399.1 kB / 3.572 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/9.241, allocations: 32.88 kB / 3.572 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/9.244, allocations: 122.9 kB / 3.572 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/9.244, allocations: 70.03 kB / 3.573 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/9.244, allocations: 37.3 kB / 3.573 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001894/9.246, allocations: 0.8946 MB / 3.573 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/9.246, allocations: 2.312 kB / 3.573 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004676/9.251, allocations: 1.174 MB / 3.575 GB, free: 36.2 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.006403/9.257, allocations: 2.83 MB / 3.577 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004798/9.262, allocations: 1.88 MB / 3.579 GB, free: 35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/9.262, allocations: 2.656 kB / 3.579 GB, free: 35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/9.263, allocations: 0.5135 MB / 3.58 GB, free: 35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00833/9.272, allocations: 0.8469 MB / 3.581 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/9.279, allocations: 2.782 MB / 3.583 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/9.28, allocations: 1.433 MB / 3.585 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004587/9.285, allocations: 0.6091 MB / 3.585 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/9.285, allocations: 105.1 kB / 3.585 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/9.285, allocations: 0 / 3.585 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.1135/9.399, allocations: 68.57 MB / 3.652 GB, free: 29.94 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)