Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001678/0.001678, allocations: 105.4 kB / 15.98 MB, free: 6.363 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.001794/0.001795, allocations: 194.8 kB / 16.91 MB, free: 6.199 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.764/0.764, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4592, allocations: 77.93 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7312/1.19, allocations: 232.9 MB / 0.7942 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01723/1.208, allocations: 10.35 MB / 0.8043 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004493/1.212, allocations: 54.62 kB / 0.8044 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004578/1.217, allocations: 1.064 MB / 0.8054 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01495/1.232, allocations: 3.435 MB / 0.8088 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.242, allocations: 1.907 MB / 0.8106 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01042/1.253, allocations: 4.451 MB / 0.815 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003066/1.256, allocations: 1.55 MB / 0.8165 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/1.26, allocations: 1.617 MB / 0.8181 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004365/1.264, allocations: 1.582 MB / 0.8196 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005441/1.265, allocations: 182.9 kB / 0.8198 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008747/1.274, allocations: 3.374 MB / 0.8231 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001229/1.275, allocations: 0.7088 MB / 0.8238 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002213/1.277, allocations: 1.056 MB / 0.8248 GB, free: 328 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/1.288, allocations: 4.024 MB / 0.8287 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.288, allocations: 0 / 0.8287 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.083e-06/1.288, allocations: 0 / 0.8287 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.788e-05/1.288, allocations: 0 / 0.8287 GB, free: 15.76 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.0066/1.295, allocations: 2.487 MB / 0.8312 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.295, allocations: 10.03 kB / 0.8312 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/1.298, allocations: 0.531 MB / 0.8317 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/1.301, allocations: 1.227 MB / 0.8329 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/1.301, allocations: 103.9 kB / 0.833 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.301, allocations: 133.6 kB / 0.8331 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/1.304, allocations: 1.676 MB / 0.8348 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/1.304, allocations: 2.625 kB / 0.8348 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.304, allocations: 61.02 kB / 0.8348 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/1.304, allocations: 70.61 kB / 0.8349 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/1.307, allocations: 1.446 MB / 0.8363 GB, free: 11.39 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.009869/1.317, allocations: 6.96 MB / 0.8431 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/1.319, allocations: 1.199 MB / 0.8443 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009527/1.32, allocations: 0.6084 MB / 0.8449 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000949/1.321, allocations: 0.861 MB / 0.8457 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/1.322, allocations: 0.6089 MB / 0.8463 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 4.157e-06/1.322, allocations: 0 / 0.8463 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.00344/1.326, allocations: 1.579 MB / 0.8478 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.326, allocations: 90.11 kB / 0.8479 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.327, allocations: 1.195 MB / 0.8491 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.327, allocations: 45.7 kB / 0.8491 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/1.328, allocations: 0.6775 MB / 0.8498 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.329, allocations: 379.1 kB / 0.8501 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/1.329, allocations: 182.5 kB / 0.8503 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.329, allocations: 341.9 kB / 0.8506 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/1.33, allocations: 432.6 kB / 0.8511 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/1.331, allocations: 0.5581 MB / 0.8516 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.332, allocations: 1.013 MB / 0.8526 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.332, allocations: 0 / 0.8526 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002373/1.335, allocations: 1.218 MB / 0.8538 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.335, allocations: 13.97 kB / 0.8538 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.335, allocations: 4 kB / 0.8538 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.335, allocations: 4 kB / 0.8538 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/1.336, allocations: 220.6 kB / 0.854 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.336, allocations: 6.531 kB / 0.854 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.337, allocations: 187 kB / 0.8542 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/1.338, allocations: 36 kB / 0.8542 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001356/1.339, allocations: 0.7401 MB / 0.855 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007996/1.34, allocations: 0.547 MB / 0.8555 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001544/1.341, allocations: 0.993 MB / 0.8565 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/1.341, allocations: 0 / 0.8565 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002166/1.343, allocations: 1.198 MB / 0.8576 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.344, allocations: 4 kB / 0.8576 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.344, allocations: 7.984 kB / 0.8576 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.344, allocations: 11.94 kB / 0.8577 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/1.344, allocations: 208.7 kB / 0.8579 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/1.344, allocations: 12.17 kB / 0.8579 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.346, allocations: 155.6 kB / 0.858 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/1.346, allocations: 36 kB / 0.858 GB, free: 6.414 MB / 0.6075 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.0003322/1.346, allocations: 237 kB / 0.8583 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/1.347, allocations: 154.1 kB / 0.8584 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/1.349, allocations: 1.249 MB / 0.8596 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/1.349, allocations: 8 kB / 0.8596 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.349, allocations: 4 kB / 0.8597 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/1.351, allocations: 1.011 MB / 0.8606 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/1.356, allocations: 3.165 MB / 0.8637 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.356, allocations: 4 kB / 0.8637 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.357, allocations: 228.6 kB / 0.864 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.357, allocations: 4 kB / 0.864 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/1.357, allocations: 35.92 kB / 0.864 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/1.357, allocations: 11.94 kB / 0.864 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.357, allocations: 2.531 kB / 0.864 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/1.36, allocations: 1.912 MB / 0.8659 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/1.361, allocations: 358.9 kB / 0.8662 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.361, allocations: 24 kB / 0.8662 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.362, allocations: 115.7 kB / 0.8663 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.362, allocations: 76.89 kB / 0.8664 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/1.362, allocations: 32 kB / 0.8665 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001125/1.364, allocations: 0.8322 MB / 0.8673 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/1.364, allocations: 0 / 0.8673 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002017/1.366, allocations: 0.8415 MB / 0.8681 GB, free: 11.99 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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.001319/1.367, allocations: 0.5772 MB / 0.8686 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003701/1.371, allocations: 1.862 MB / 0.8705 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.371, allocations: 4 kB / 0.8705 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009004/1.372, allocations: 0.5675 MB / 0.871 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.375, allocations: 0.8739 MB / 0.8719 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/1.381, allocations: 3.97 MB / 0.8758 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.382, allocations: 1.364 MB / 0.8771 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002005/1.384, allocations: 459.6 kB / 0.8775 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.385, allocations: 111.4 kB / 0.8776 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/1.385, allocations: 0 / 0.8776 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.05646/1.441, allocations: 29.75 MB / 0.9067 GB, free: 5.16 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)