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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009337/0.0009336, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3898/0.3898, allocations: 54.98 MB / 325.4 MB, free: 0.6641 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009089/0.000909, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3753, allocations: 60.72 MB / 457.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2315/0.6069, allocations: 193.6 MB / 0.6357 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.301/0.9079, allocations: 10.09 MB / 0.6455 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.9103, allocations: 48.62 kB / 0.6456 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003618/0.9139, allocations: 1.071 MB / 0.6466 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008528/0.9225, allocations: 2.784 MB / 0.6493 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.927, allocations: 1.527 MB / 0.6508 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005146/0.9321, allocations: 2.792 MB / 0.6536 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.9346, allocations: 1.282 MB / 0.6548 GB, free: 21.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.9376, allocations: 1.402 MB / 0.6562 GB, free: 21.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.9395, allocations: 1.002 MB / 0.6572 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.9398, allocations: 83.56 kB / 0.6572 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.9438, allocations: 1.18 MB / 0.6584 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000665/0.9445, allocations: 0.5971 MB / 0.659 GB, free: 21.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007112/0.9452, allocations: 440.9 kB / 0.6594 GB, free: 21.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.949, allocations: 2.53 MB / 0.6619 GB, free: 21.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.949, allocations: 0 / 0.6619 GB, free: 21.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.949, allocations: 1 kB / 0.6619 GB, free: 21.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.671e-05/0.9491, allocations: 0 / 0.6619 GB, free: 21.1 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.006027/0.9552, allocations: 2.201 MB / 0.664 GB, free: 19.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9552, allocations: 12.72 kB / 0.664 GB, free: 19.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.9586, allocations: 0.5155 MB / 0.6645 GB, free: 19.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.9612, allocations: 1.214 MB / 0.6657 GB, free: 19.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.9614, allocations: 112 kB / 0.6658 GB, free: 19.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.9617, allocations: 149.1 kB / 0.666 GB, free: 19.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.9651, allocations: 1.793 MB / 0.6677 GB, free: 19.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.9651, allocations: 8.375 kB / 0.6677 GB, free: 19.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.9653, allocations: 63.47 kB / 0.6678 GB, free: 19.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.9654, allocations: 81.45 kB / 0.6679 GB, free: 19.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.9685, allocations: 1.562 MB / 0.6694 GB, free: 19.28 MB / 0.5137 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.01109/0.9796, allocations: 7.179 MB / 0.6764 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.9815, allocations: 1.091 MB / 0.6775 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006911/0.9822, allocations: 0.6835 MB / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.9835, allocations: 0.759 MB / 0.6789 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.737e-06/0.9836, allocations: 4 kB / 0.6789 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110): time 0.003341/0.9869, allocations: 1.576 MB / 0.6804 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/0.9871, allocations: 382.1 kB / 0.6808 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.9894, allocations: 1.354 MB / 0.6821 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.9896, allocations: 50.05 kB / 0.6821 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007071/0.9903, allocations: 0.7432 MB / 0.6829 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.9907, allocations: 389 kB / 0.6832 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.9908, allocations: 21.03 kB / 0.6833 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9909, allocations: 349.5 kB / 0.6836 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.9917, allocations: 453.2 kB / 0.684 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.9927, allocations: 0.6653 MB / 0.6847 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.9936, allocations: 0.5247 MB / 0.6852 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.9936, allocations: 6.719 kB / 0.6852 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002281/0.9959, allocations: 1.306 MB / 0.6865 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000478/0.9964, allocations: 1.169 MB / 0.6876 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9964, allocations: 7.297 kB / 0.6876 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.9965, allocations: 7.719 kB / 0.6876 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.9975, allocations: 240.3 kB / 0.6879 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.9976, allocations: 10.88 kB / 0.6879 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.9994, allocations: 195.1 kB / 0.6881 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.9995, allocations: 38.17 kB / 0.6881 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.9995, allocations: 3.062 kB / 0.6881 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001625/1.001, allocations: 1.118 MB / 0.6892 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.001, allocations: 4.969 kB / 0.6892 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.001, allocations: 7.375 kB / 0.6892 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/1.002, allocations: 231.1 kB / 0.6894 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/1.002, allocations: 16.47 kB / 0.6894 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.003, allocations: 185.3 kB / 0.6896 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/1.004, allocations: 42.33 kB / 0.6897 GB, free: 11.57 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.001/1.005, allocations: 0.5036 MB / 0.6901 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/1.005, allocations: 164.3 kB / 0.6903 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/1.007, allocations: 1.252 MB / 0.6915 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.007, allocations: 14.77 kB / 0.6915 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/1.007, allocations: 4.875 kB / 0.6915 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/1.008, allocations: 0.9682 MB / 0.6925 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/1.013, allocations: 3.162 MB / 0.6956 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.013, allocations: 2.312 kB / 0.6956 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.014, allocations: 232.3 kB / 0.6958 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/1.014, allocations: 10.05 kB / 0.6958 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/1.014, allocations: 29.2 kB / 0.6958 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/1.014, allocations: 3.312 kB / 0.6958 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.014, allocations: 6.016 kB / 0.6958 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/1.017, allocations: 1.972 MB / 0.6978 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/1.018, allocations: 397.2 kB / 0.6981 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/1.018, allocations: 28.2 kB / 0.6982 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.02, allocations: 121 kB / 0.6983 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.02, allocations: 72.66 kB / 0.6984 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/1.02, allocations: 40.33 kB / 0.6984 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001246/1.021, allocations: 0.9389 MB / 0.6993 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/1.021, allocations: 2.875 kB / 0.6993 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002212/1.024, allocations: 0.9067 MB / 0.7002 GB, free: 8.355 MB / 0.5137 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) * Number of clocked states: 0 () * 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.001297/1.025, allocations: 0.5698 MB / 0.7008 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002751/1.028, allocations: 1.69 MB / 0.7024 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.028, allocations: 1.969 kB / 0.7024 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/1.028, allocations: 0.5493 MB / 0.703 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/1.033, allocations: 0.8623 MB / 0.7038 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/1.039, allocations: 4.121 MB / 0.7078 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/1.04, allocations: 1.446 MB / 0.7092 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002287/1.042, allocations: 467.1 kB / 0.7097 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/1.043, allocations: 122.3 kB / 0.7098 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/1.043, allocations: 0 / 0.7098 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.05296/1.096, allocations: 31.02 MB / 0.7401 GB, free: 7.309 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: