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.001176/0.001176, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001403/0.001403, allocations: 194.2 kB / 17.2 MB, free: 5.609 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7812/0.7812, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.88 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 80.91 MB / 0.585 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.549/0.9106, allocations: 235.8 MB / 0.8153 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.9245, allocations: 10.4 MB / 0.8255 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.9272, allocations: 62.06 kB / 0.8255 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.9309, allocations: 1.19 MB / 0.8267 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009305/0.9403, allocations: 3.658 MB / 0.8303 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.9454, allocations: 2.058 MB / 0.8323 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005687/0.9511, allocations: 4.45 MB / 0.8366 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.9533, allocations: 1.587 MB / 0.8382 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.9564, allocations: 1.588 MB / 0.8397 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.9593, allocations: 1.492 MB / 0.8412 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.9597, allocations: 186.7 kB / 0.8414 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006786/0.9665, allocations: 3.233 MB / 0.8445 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009526/0.9675, allocations: 0.7048 MB / 0.8452 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.9692, allocations: 1.065 MB / 0.8462 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007038/0.9762, allocations: 3.784 MB / 0.8499 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9763, allocations: 0 / 0.8499 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9763, allocations: 2.344 kB / 0.8499 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.929e-05/0.9763, allocations: 0 / 0.8499 GB, free: 9.117 MB / 0.5919 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.005521/0.9819, allocations: 2.495 MB / 0.8524 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9819, allocations: 9.109 kB / 0.8524 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.9854, allocations: 0.5235 MB / 0.8529 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.9875, allocations: 1.219 MB / 0.8541 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.271e-05/0.9876, allocations: 100.7 kB / 0.8542 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.9879, allocations: 143.3 kB / 0.8543 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.9908, allocations: 1.675 MB / 0.856 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.9908, allocations: 4 kB / 0.856 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.991, allocations: 55.36 kB / 0.856 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.705e-05/0.991, allocations: 81.12 kB / 0.8561 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.9936, allocations: 1.441 MB / 0.8575 GB, free: 1.402 MB / 0.5919 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.008715/1.002, allocations: 7.006 MB / 0.8643 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.004, allocations: 1.193 MB / 0.8655 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009147/1.005, allocations: 0.6134 MB / 0.8661 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008452/1.006, allocations: 0.8585 MB / 0.8669 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.007, allocations: 0.6089 MB / 0.8675 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.576e-06/1.007, allocations: 0 / 0.8675 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.003116/1.01, allocations: 1.571 MB / 0.8691 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/1.01, allocations: 94.11 kB / 0.8692 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/1.012, allocations: 1.195 MB / 0.8703 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.012, allocations: 45.7 kB / 0.8704 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/1.012, allocations: 0.6776 MB / 0.871 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/1.013, allocations: 381.2 kB / 0.8714 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.013, allocations: 182.5 kB / 0.8716 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.013, allocations: 345.9 kB / 0.8719 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/1.014, allocations: 432.6 kB / 0.8723 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/1.015, allocations: 0.5638 MB / 0.8729 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/1.016, allocations: 1.009 MB / 0.8738 GB, free: 16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.016, allocations: 2.531 kB / 0.8738 GB, free: 16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002152/1.019, allocations: 1.219 MB / 0.875 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.019, allocations: 11.94 kB / 0.875 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.019, allocations: 0 / 0.875 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.019, allocations: 8 kB / 0.8751 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/1.02, allocations: 216.6 kB / 0.8753 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.02, allocations: 10.53 kB / 0.8753 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.021, allocations: 99.14 kB / 0.8754 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/1.021, allocations: 39.98 kB / 0.8754 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001213/1.022, allocations: 0.7323 MB / 0.8761 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007964/1.023, allocations: 0.552 MB / 0.8767 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001487/1.024, allocations: 0.989 MB / 0.8776 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/1.024, allocations: 1.25 kB / 0.8776 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002041/1.026, allocations: 1.195 MB / 0.8788 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.027, allocations: 11.94 kB / 0.8788 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.027, allocations: 4 kB / 0.8788 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/1.027, allocations: 7.938 kB / 0.8788 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/1.027, allocations: 212.7 kB / 0.879 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.027, allocations: 10.53 kB / 0.879 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.029, allocations: 79.41 kB / 0.8791 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/1.029, allocations: 36 kB / 0.8791 GB, free: 10.55 MB / 0.6231 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.0002961/1.029, allocations: 245.7 kB / 0.8794 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/1.029, allocations: 154.2 kB / 0.8795 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/1.032, allocations: 1.241 MB / 0.8807 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.032, allocations: 12 kB / 0.8807 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.032, allocations: 0 / 0.8807 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/1.033, allocations: 0.999 MB / 0.8817 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/1.038, allocations: 3.16 MB / 0.8848 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.038, allocations: 4 kB / 0.8848 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.039, allocations: 229 kB / 0.885 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.039, allocations: 8 kB / 0.885 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/1.039, allocations: 32.3 kB / 0.8851 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.039, allocations: 16.06 kB / 0.8851 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.039, allocations: 6.625 kB / 0.8851 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.042, allocations: 1.988 MB / 0.887 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006095/1.043, allocations: 362.8 kB / 0.8874 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/1.043, allocations: 28 kB / 0.8874 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/1.044, allocations: 35.92 kB / 0.8874 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.044, allocations: 75.52 kB / 0.8875 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-05/1.044, allocations: 39.98 kB / 0.8875 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001036/1.045, allocations: 0.8258 MB / 0.8884 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.045, allocations: 192 / 0.8884 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001766/1.047, allocations: 0.8378 MB / 0.8892 GB, free: 128 kB / 0.6231 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.001267/1.048, allocations: 0.5799 MB / 0.8897 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00356/1.052, allocations: 1.862 MB / 0.8916 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.052, allocations: 0 / 0.8916 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009062/1.053, allocations: 0.5703 MB / 0.8921 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/1.057, allocations: 0.8772 MB / 0.893 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/1.062, allocations: 3.409 MB / 0.8963 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009141/1.063, allocations: 1.364 MB / 0.8976 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/1.063, allocations: 122 kB / 0.8977 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/1.063, allocations: 0 / 0.8977 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of Templates: time 0.03532/1.099, allocations: 25.43 MB / 0.9226 GB, free: 14.33 MB / 0.67 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)