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.001023/0.001027, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.000976/0.0009761, allocations: 191.1 kB / 17.29 MB, free: 5.484 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.73/0.73, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3004, allocations: 80.92 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4793/0.7798, allocations: 235.8 MB / 0.8161 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.7925, allocations: 10.41 MB / 0.8262 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.7948, allocations: 59.09 kB / 0.8263 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.7973, allocations: 1.185 MB / 0.8274 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007663/0.805, allocations: 3.66 MB / 0.831 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004615/0.8096, allocations: 2.07 MB / 0.833 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00583/0.8155, allocations: 4.459 MB / 0.8374 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.818, allocations: 1.577 MB / 0.8389 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.8211, allocations: 1.598 MB / 0.8405 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.824, allocations: 1.494 MB / 0.842 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.8243, allocations: 184.9 kB / 0.8421 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006188/0.8304, allocations: 3.239 MB / 0.8453 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000739/0.8312, allocations: 0.7058 MB / 0.846 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.833, allocations: 1.058 MB / 0.847 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.8388, allocations: 3.823 MB / 0.8508 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8389, allocations: 6.938 kB / 0.8508 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8389, allocations: 0 / 0.8508 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.8389, allocations: 0 / 0.8508 GB, free: 8.906 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.004699/0.8436, allocations: 2.493 MB / 0.8532 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8437, allocations: 9.109 kB / 0.8532 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.8468, allocations: 0.5181 MB / 0.8537 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.8489, allocations: 1.294 MB / 0.855 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.849, allocations: 94.66 kB / 0.8551 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.8492, allocations: 142.6 kB / 0.8552 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.8517, allocations: 1.672 MB / 0.8568 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.8518, allocations: 4 kB / 0.8568 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.8519, allocations: 54.66 kB / 0.8569 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-05/0.852, allocations: 77.19 kB / 0.857 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.8543, allocations: 1.438 MB / 0.8584 GB, free: 1.156 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.007885/0.8622, allocations: 6.956 MB / 0.8652 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.8639, allocations: 1.189 MB / 0.8663 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000861/0.8648, allocations: 0.6095 MB / 0.8669 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008091/0.8656, allocations: 0.8632 MB / 0.8678 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009592/0.8665, allocations: 0.6102 MB / 0.8684 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.116e-06/0.8666, allocations: 0 / 0.8684 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.002829/0.8694, allocations: 1.576 MB / 0.8699 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.8695, allocations: 90.11 kB / 0.87 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.8708, allocations: 1.199 MB / 0.8711 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/0.8709, allocations: 45.7 kB / 0.8712 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.8714, allocations: 0.6801 MB / 0.8719 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.8718, allocations: 378 kB / 0.8722 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.872, allocations: 182.5 kB / 0.8724 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8722, allocations: 345.9 kB / 0.8727 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.8729, allocations: 428.6 kB / 0.8731 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.8737, allocations: 0.5638 MB / 0.8737 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.8752, allocations: 1.009 MB / 0.8747 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8752, allocations: 0 / 0.8747 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001904/0.8771, allocations: 1.218 MB / 0.8759 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.8771, allocations: 11.94 kB / 0.8759 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8772, allocations: 0.5469 kB / 0.8759 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.8772, allocations: 8 kB / 0.8759 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009268/0.8781, allocations: 216.4 kB / 0.8761 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.8781, allocations: 11.19 kB / 0.8761 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/0.8791, allocations: 105.9 kB / 0.8762 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.8792, allocations: 36.2 kB / 0.8762 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001109/0.8804, allocations: 0.744 MB / 0.877 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007541/0.8811, allocations: 0.5467 MB / 0.8775 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/0.8825, allocations: 0.9946 MB / 0.8785 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.8825, allocations: 0 / 0.8785 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001813/0.8844, allocations: 1.195 MB / 0.8796 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.8844, allocations: 4.312 kB / 0.8796 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8844, allocations: 8 kB / 0.8796 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.8844, allocations: 11.94 kB / 0.8797 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.8853, allocations: 208.4 kB / 0.8798 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.8853, allocations: 8 kB / 0.8799 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.8862, allocations: 73.61 kB / 0.8799 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.8863, allocations: 36 kB / 0.88 GB, free: 10.35 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.000255/0.8866, allocations: 245.4 kB / 0.8802 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8868, allocations: 158.2 kB / 0.8803 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.8888, allocations: 1.237 MB / 0.8816 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.8889, allocations: 12 kB / 0.8816 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8889, allocations: 0 / 0.8816 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/0.8904, allocations: 1.005 MB / 0.8825 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.895, allocations: 3.16 MB / 0.8856 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.895, allocations: 4 kB / 0.8856 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.8961, allocations: 230 kB / 0.8859 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.8961, allocations: 8 kB / 0.8859 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.8962, allocations: 27.98 kB / 0.8859 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.8962, allocations: 10.56 kB / 0.8859 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/0.8962, allocations: 7.938 kB / 0.8859 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.899, allocations: 1.996 MB / 0.8879 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/0.8996, allocations: 362.8 kB / 0.8882 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.8998, allocations: 24 kB / 0.8882 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/0.9006, allocations: 39.92 kB / 0.8883 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.9008, allocations: 75.42 kB / 0.8883 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.578e-05/0.9009, allocations: 39.98 kB / 0.8884 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009803/0.9019, allocations: 0.8258 MB / 0.8892 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9019, allocations: 0 / 0.8892 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001633/0.9035, allocations: 0.8338 MB / 0.89 GB, free: 15.92 MB / 0.6387 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.00121/0.9047, allocations: 0.5725 MB / 0.8906 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002501/0.9072, allocations: 1.613 MB / 0.8921 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9073, allocations: 4 kB / 0.8921 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008349/0.9081, allocations: 0.5697 MB / 0.8927 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.9112, allocations: 0.8778 MB / 0.8935 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.9157, allocations: 3.294 MB / 0.8968 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.9166, allocations: 1.375 MB / 0.8981 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001379/0.918, allocations: 443.6 kB / 0.8985 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.9184, allocations: 115.4 kB / 0.8986 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.9184, allocations: 0 / 0.8986 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of Templates: time 0.04443/0.9628, allocations: 30.04 MB / 0.928 GB, free: 9.688 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)