Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 175.1 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205 MB / 0.576 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006396/0.0006396, allocations: 89.06 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 9.656 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.482/0.6176, allocations: 233.6 MB / 1.124 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.6287, allocations: 10.43 MB / 1.135 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.6301, allocations: 52.12 kB / 1.135 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.6321, allocations: 1.044 MB / 1.136 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005834/0.638, allocations: 3.407 MB / 1.139 GB, free: 436 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.6415, allocations: 1.947 MB / 1.141 GB, free: 368 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005296/0.6468, allocations: 6.401 MB / 1.147 GB, free: 344 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.6484, allocations: 1.298 MB / 1.148 GB, free: 132 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.6502, allocations: 1.409 MB / 1.15 GB, free: 124 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.652, allocations: 1.502 MB / 1.151 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.6522, allocations: 75.56 kB / 1.151 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005097/0.6573, allocations: 3.718 MB / 1.155 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004892/0.6578, allocations: 0.5979 MB / 1.156 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.6586, allocations: 0.9454 MB / 1.156 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.6624, allocations: 3.939 MB / 1.16 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6624, allocations: 0 / 1.16 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6625, allocations: 0 / 1.16 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.6625, allocations: 0 / 1.16 GB, free: 12.21 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003707/0.6662, allocations: 2.146 MB / 1.162 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.6662, allocations: 8.062 kB / 1.162 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/0.6664, allocations: 200.3 kB / 1.163 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.6691, allocations: 0.5297 MB / 1.163 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.6707, allocations: 1.22 MB / 1.164 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.6707, allocations: 102.2 kB / 1.164 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.6709, allocations: 149 kB / 1.165 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.6732, allocations: 1.693 MB / 1.166 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.6733, allocations: 0 / 1.166 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.6734, allocations: 62 kB / 1.166 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.6735, allocations: 72.69 kB / 1.166 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.6756, allocations: 1.456 MB / 1.168 GB, free: 7.477 MB / 0.7136 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.006727/0.6823, allocations: 6.981 MB / 1.175 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.6838, allocations: 1.185 MB / 1.176 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/0.6846, allocations: 0.6011 MB / 1.176 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/0.6853, allocations: 0.8768 MB / 1.177 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/0.6862, allocations: 0.6062 MB / 1.178 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 2.184e-06/0.6862, allocations: 7.938 kB / 1.178 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002469/0.6886, allocations: 1.574 MB / 1.179 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.6887, allocations: 93.64 kB / 1.179 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6899, allocations: 1.2 MB / 1.181 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.69, allocations: 49.7 kB / 1.181 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/0.6904, allocations: 0.6814 MB / 1.181 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.6907, allocations: 383.8 kB / 1.182 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6908, allocations: 85.67 kB / 1.182 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.6909, allocations: 341.9 kB / 1.182 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.6915, allocations: 424.3 kB / 1.182 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.6923, allocations: 0.5652 MB / 1.183 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.6937, allocations: 1.015 MB / 1.184 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6937, allocations: 4 kB / 1.184 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001721/0.6954, allocations: 1.218 MB / 1.185 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.6955, allocations: 163.3 kB / 1.185 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6955, allocations: 4 kB / 1.185 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6956, allocations: 11.98 kB / 1.185 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/0.6964, allocations: 212.6 kB / 1.186 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.6965, allocations: 10.62 kB / 1.186 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.6975, allocations: 170.9 kB / 1.186 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.6976, allocations: 36 kB / 1.186 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.6976, allocations: 4 kB / 1.186 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.6991, allocations: 1.03 MB / 1.187 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6991, allocations: 12.19 kB / 1.187 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.6991, allocations: 12.06 kB / 1.187 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.6999, allocations: 212.7 kB / 1.187 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.6999, allocations: 14.52 kB / 1.187 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/0.7009, allocations: 159.8 kB / 1.187 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.701, allocations: 39.98 kB / 1.187 GB, free: 6.359 MB / 0.7292 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.0005109/0.7015, allocations: 490.4 kB / 1.188 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.7017, allocations: 158.1 kB / 1.188 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.7036, allocations: 1.243 MB / 1.189 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.7036, allocations: 12 kB / 1.189 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7036, allocations: 2.531 kB / 1.189 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/0.7051, allocations: 1.007 MB / 1.19 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.7091, allocations: 3.164 MB / 1.193 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7091, allocations: 11.92 kB / 1.193 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.7101, allocations: 237 kB / 1.193 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.7101, allocations: 8 kB / 1.193 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.7102, allocations: 27.98 kB / 1.193 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.7102, allocations: 11.94 kB / 1.193 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7102, allocations: 6.625 kB / 1.193 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.7127, allocations: 2.002 MB / 1.195 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.7132, allocations: 367 kB / 1.196 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.7134, allocations: 24 kB / 1.196 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/0.7144, allocations: 136.7 kB / 1.196 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.7145, allocations: 67.44 kB / 1.196 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.7146, allocations: 39.98 kB / 1.196 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008723/0.7155, allocations: 0.8336 MB / 1.197 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7155, allocations: 3.938 kB / 1.197 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001395/0.7169, allocations: 0.8492 MB / 1.198 GB, free: 11.55 MB / 0.7448 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.003719/0.7206, allocations: 3.022 MB / 1.201 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.7228, allocations: 1.61 MB / 1.202 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7228, allocations: 4 kB / 1.202 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.7236, allocations: 0.5633 MB / 1.203 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/0.727, allocations: 0.8356 MB / 1.203 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.7419, allocations: 12.55 MB / 1.216 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008088/0.7427, allocations: 1.371 MB / 1.217 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001504/0.7442, allocations: 455.6 kB / 1.218 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007404/0.745, allocations: 0.6164 MB / 1.218 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of SimCode: time 2.91e-07/0.745, allocations: 4 kB / 1.218 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.195/0.94, allocations: 40.68 MB / 1.258 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.9403, allocations: 261.3 kB / 1.258 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.966, allocations: 0 / 1.258 GB, free: 13.66 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)