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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008522, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 172.2 kB / 16.58 MB, free: 6.059 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.305/1.305, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6261/0.6261, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 12 kB / 493.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4849/0.6187, allocations: 215 MB / 0.7669 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.634, allocations: 9.783 MB / 0.7764 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.6362, allocations: 51.69 kB / 0.7765 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.6386, allocations: 0.8117 MB / 0.7772 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007997/0.6466, allocations: 2.659 MB / 0.7798 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.6512, allocations: 1.436 MB / 0.7812 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006681/0.6579, allocations: 5.292 MB / 0.7864 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.6599, allocations: 1.173 MB / 0.7876 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.6624, allocations: 1.35 MB / 0.7889 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.6643, allocations: 1.412 MB / 0.7903 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6644, allocations: 76 kB / 0.7903 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.6686, allocations: 1.613 MB / 0.7919 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006108/0.6692, allocations: 0.5762 MB / 0.7925 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000529/0.6698, allocations: 408.7 kB / 0.7929 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.6728, allocations: 2.572 MB / 0.7954 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6728, allocations: 3.938 kB / 0.7954 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6728, allocations: 4 kB / 0.7954 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.6729, allocations: 0 / 0.7954 GB, free: 6.426 MB / 0.6075 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.00416/0.677, allocations: 2.14 MB / 0.7975 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6771, allocations: 12.03 kB / 0.7975 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.6773, allocations: 198.6 kB / 0.7977 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.6802, allocations: 0.5284 MB / 0.7982 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.682, allocations: 1.175 MB / 0.7993 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.6821, allocations: 107.4 kB / 0.7994 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.6823, allocations: 132 kB / 0.7996 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.6849, allocations: 1.67 MB / 0.8012 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.6849, allocations: 4 kB / 0.8012 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6851, allocations: 55.98 kB / 0.8012 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-05/0.6851, allocations: 70.56 kB / 0.8013 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.6875, allocations: 1.451 MB / 0.8027 GB, free: 14.7 MB / 0.6231 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.007766/0.6953, allocations: 6.973 MB / 0.8095 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.697, allocations: 1.2 MB / 0.8107 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008855/0.6979, allocations: 0.6122 MB / 0.8113 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/0.6988, allocations: 0.8711 MB / 0.8122 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009914/0.6998, allocations: 0.6102 MB / 0.8128 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=110): time 3.115e-06/0.6998, allocations: 0 / 0.8128 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.002813/0.7026, allocations: 1.576 MB / 0.8143 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.7027, allocations: 94.11 kB / 0.8144 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7041, allocations: 1.186 MB / 0.8155 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.7041, allocations: 49.7 kB / 0.8156 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.7047, allocations: 0.6749 MB / 0.8163 GB, free: 108 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.3198/1.024, allocations: 378.7 kB / 0.8166 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/1.025, allocations: 16.62 kB / 0.8166 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.025, allocations: 346.7 kB / 0.817 GB, free: 119.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008252/1.026, allocations: 419 kB / 0.8174 GB, free: 119.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009003/1.026, allocations: 0.5578 MB / 0.8179 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/1.027, allocations: 498 kB / 0.8184 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/1.027, allocations: 0.625 kB / 0.8184 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002502/1.03, allocations: 1.22 MB / 0.8196 GB, free: 119.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/1.03, allocations: 161.7 kB / 0.8197 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.03, allocations: 2.656 kB / 0.8197 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/1.03, allocations: 8.578 kB / 0.8197 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.031, allocations: 223.4 kB / 0.8199 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/1.031, allocations: 7.125 kB / 0.82 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.032, allocations: 190.9 kB / 0.8201 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/1.033, allocations: 38.08 kB / 0.8202 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/1.033, allocations: 4.094 kB / 0.8202 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001793/1.034, allocations: 1.037 MB / 0.8212 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.034, allocations: 1.688 kB / 0.8212 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.034, allocations: 8.266 kB / 0.8212 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/1.035, allocations: 211.2 kB / 0.8214 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/1.035, allocations: 10.7 kB / 0.8214 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.037, allocations: 175.7 kB / 0.8216 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/1.037, allocations: 41.36 kB / 0.8216 GB, free: 119.1 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 ($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 (126): * Single equations (assignments): 126 * 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.0008589/1.038, allocations: 488.7 kB / 0.8221 GB, free: 118.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/1.038, allocations: 156.6 kB / 0.8222 GB, free: 118.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/1.04, allocations: 1.243 MB / 0.8234 GB, free: 118.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/1.04, allocations: 10.72 kB / 0.8235 GB, free: 118.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.04, allocations: 0.6562 kB / 0.8235 GB, free: 118.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001861/1.042, allocations: 1.018 MB / 0.8245 GB, free: 118.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/1.047, allocations: 3.169 MB / 0.8275 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/1.048, allocations: 2.484 kB / 0.8276 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.049, allocations: 233.7 kB / 0.8278 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.049, allocations: 6.062 kB / 0.8278 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/1.049, allocations: 30.33 kB / 0.8278 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/1.049, allocations: 6.609 kB / 0.8278 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.049, allocations: 3.844 kB / 0.8278 GB, free: 118 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/1.052, allocations: 1.916 MB / 0.8297 GB, free: 117.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/1.053, allocations: 363.8 kB / 0.83 GB, free: 117.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.053, allocations: 25.88 kB / 0.8301 GB, free: 117.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/1.054, allocations: 117.2 kB / 0.8302 GB, free: 117.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.054, allocations: 78.84 kB / 0.8302 GB, free: 117.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/1.054, allocations: 40.42 kB / 0.8303 GB, free: 117.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00115/1.055, allocations: 0.8204 MB / 0.8311 GB, free: 117.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/1.055, allocations: 0 / 0.8311 GB, free: 117.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002038/1.057, allocations: 0.8369 MB / 0.8319 GB, free: 117.3 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 (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.00406/1.061, allocations: 2.941 MB / 0.8348 GB, free: 116.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002523/1.064, allocations: 1.614 MB / 0.8364 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.064, allocations: 0 / 0.8364 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007768/1.065, allocations: 0.5695 MB / 0.8369 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/1.068, allocations: 0.8281 MB / 0.8377 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.08, allocations: 9.725 MB / 0.8472 GB, free: 112.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.081, allocations: 1.371 MB / 0.8486 GB, free: 112 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001788/1.083, allocations: 456.1 kB / 0.849 GB, free: 111.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007427/1.084, allocations: 0.6297 MB / 0.8496 GB, free: 111.9 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/1.084, allocations: 3.938 kB / 0.8496 GB, free: 111.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/1.19, allocations: 41.58 MB / 0.8902 GB, free: 75.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/1.19, allocations: 234.7 kB / 0.8904 GB, free: 75.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.116, allocations: 4 kB / 0.8904 GB, free: 75.47 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: