Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_Buildings_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.000769/0.000769, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007655/0.0007655, allocations: 168.7 kB / 15.95 MB, free: 204 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.133/1.133, allocations: 205.4 MB / 222.1 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.475/1.475, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 17.94 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.168, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5017/0.6698, allocations: 215 MB / 0.9974 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.6818, allocations: 9.604 MB / 1.007 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.6837, allocations: 47.56 kB / 1.007 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.686, allocations: 0.8027 MB / 1.008 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.6922, allocations: 2.617 MB / 1.01 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.6958, allocations: 1.456 MB / 1.012 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004769/0.7006, allocations: 5.246 MB / 1.017 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.7023, allocations: 1.18 MB / 1.018 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.7045, allocations: 1.344 MB / 1.019 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.7065, allocations: 1.409 MB / 1.021 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.7068, allocations: 75.19 kB / 1.021 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.7103, allocations: 1.617 MB / 1.022 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005251/0.7108, allocations: 0.5747 MB / 1.023 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.7112, allocations: 405.8 kB / 1.023 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.7134, allocations: 2.58 MB / 1.026 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7134, allocations: 0 / 1.026 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7135, allocations: 0 / 1.026 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.7135, allocations: 0 / 1.026 GB, free: 1.941 MB / 0.7325 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.003631/0.7171, allocations: 2.145 MB / 1.028 GB, free: 396 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.7171, allocations: 11.34 kB / 1.028 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.7174, allocations: 203.9 kB / 1.028 GB, free: 232 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.7201, allocations: 0.5184 MB / 1.028 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.7215, allocations: 1.173 MB / 1.03 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.7216, allocations: 107.8 kB / 1.03 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.7218, allocations: 131.7 kB / 1.03 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.724, allocations: 1.663 MB / 1.031 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.7241, allocations: 6.094 kB / 1.031 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7242, allocations: 51.62 kB / 1.031 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.7243, allocations: 75.88 kB / 1.032 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.7264, allocations: 1.441 MB / 1.033 GB, free: 13.16 MB / 0.7481 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.006504/0.7329, allocations: 6.96 MB / 1.04 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.7344, allocations: 1.185 MB / 1.041 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.7352, allocations: 0.6138 MB / 1.042 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/0.7359, allocations: 0.8689 MB / 1.042 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.7369, allocations: 0.6051 MB / 1.043 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=110): time 2.635e-06/0.7369, allocations: 2.938 kB / 1.043 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=110): time 0.002684/0.7396, allocations: 1.583 MB / 1.045 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.7397, allocations: 86.11 kB / 1.045 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.741, allocations: 1.182 MB / 1.046 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.7411, allocations: 45.7 kB / 1.046 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.7416, allocations: 0.6737 MB / 1.046 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.7419, allocations: 386.4 kB / 1.047 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.742, allocations: 20 kB / 1.047 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7421, allocations: 345.9 kB / 1.047 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.7427, allocations: 417.8 kB / 1.048 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.7435, allocations: 0.569 MB / 1.048 GB, free: 44 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.7443, allocations: 490.9 kB / 1.049 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7443, allocations: 0 / 1.049 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00181/0.7461, allocations: 1.214 MB / 1.05 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.7462, allocations: 171.5 kB / 1.05 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7462, allocations: 0 / 1.05 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7463, allocations: 11.94 kB / 1.05 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.7471, allocations: 215.7 kB / 1.05 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.7472, allocations: 8 kB / 1.05 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.7482, allocations: 174.8 kB / 1.05 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.7483, allocations: 39.98 kB / 1.05 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-06/0.7483, allocations: 4 kB / 1.05 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001552/0.7498, allocations: 1.027 MB / 1.051 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7498, allocations: 4 kB / 1.051 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.7499, allocations: 8 kB / 1.051 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.7507, allocations: 208 kB / 1.052 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.7507, allocations: 21.95 kB / 1.052 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.7516, allocations: 162.9 kB / 1.052 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.7517, allocations: 39.98 kB / 1.052 GB, free: 12.23 MB / 0.7637 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.0005398/0.7522, allocations: 491.9 kB / 1.052 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.7524, allocations: 146.2 kB / 1.052 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.7545, allocations: 1.24 MB / 1.054 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7545, allocations: 12 kB / 1.054 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7545, allocations: 7.953 kB / 1.054 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001545/0.7561, allocations: 1.007 MB / 1.055 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.7603, allocations: 3.155 MB / 1.058 GB, free: 6.035 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.7603, allocations: 4 kB / 1.058 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7613, allocations: 243.9 kB / 1.058 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.7613, allocations: 8 kB / 1.058 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.7614, allocations: 31.98 kB / 1.058 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.7614, allocations: 4 kB / 1.058 GB, free: 5.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7614, allocations: 4 kB / 1.058 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.7641, allocations: 2 MB / 1.06 GB, free: 3.695 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.7646, allocations: 364.5 kB / 1.06 GB, free: 3.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.7647, allocations: 24 kB / 1.06 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.7656, allocations: 119.7 kB / 1.06 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.7658, allocations: 80.89 kB / 1.061 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.7658, allocations: 35.98 kB / 1.061 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009119/0.7668, allocations: 0.8138 MB / 1.061 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7668, allocations: 0 / 1.061 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001466/0.7682, allocations: 0.8338 MB / 1.062 GB, free: 1.414 MB / 0.7637 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 (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.003819/0.7721, allocations: 3.025 MB / 1.065 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.7743, allocations: 1.608 MB / 1.067 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7744, allocations: 320 / 1.067 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.7752, allocations: 0.5755 MB / 1.067 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.7782, allocations: 0.8313 MB / 1.068 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.791, allocations: 9.653 MB / 1.077 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.7919, allocations: 1.372 MB / 1.079 GB, free: 40 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001537/0.7935, allocations: 447.7 kB / 1.079 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/0.7943, allocations: 0.6164 MB / 1.08 GB, free: 14.98 MB / 0.795 GB Notification: Performance of SimCode: time 2.645e-06/0.7943, allocations: 0 / 1.08 GB, free: 14.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05599/0.8503, allocations: 41.61 MB / 1.12 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.8505, allocations: 231.6 kB / 1.121 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.214, allocations: 0 / 1.121 GB, free: 5.66 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: