Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.478/2.478, allocations: 284.9 MB / 292.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002198/0.002198, allocations: 180.9 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 90.91 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.297e-05, allocations: 0 / 0.8508 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8886/0.8887, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.812, allocations: 2.083 GB / 3.047 GB, free: 34.99 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/6.812, allocations: 92.75 kB / 3.047 GB, free: 34.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.658/12.47, allocations: 1.048 GB / 4.094 GB, free: 80.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.474e-06/12.47, allocations: 0 / 4.094 GB, free: 80.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001789/12.47, allocations: 54.66 kB / 4.095 GB, free: 80.55 MB / 0.948 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.009235/12.48, allocations: 2.149 MB / 4.097 GB, free: 78.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/12.48, allocations: 12.03 kB / 4.097 GB, free: 78.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/12.49, allocations: 0.5167 MB / 4.097 GB, free: 77.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/12.49, allocations: 1.255 MB / 4.098 GB, free: 76.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/12.49, allocations: 49.83 kB / 4.098 GB, free: 76.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/12.49, allocations: 80 kB / 4.098 GB, free: 76.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003526/12.49, allocations: 1.204 MB / 4.1 GB, free: 75.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/12.5, allocations: 1.421 MB / 4.101 GB, free: 73.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-05/12.5, allocations: 0 / 4.101 GB, free: 73.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/12.5, allocations: 7.953 kB / 4.101 GB, free: 73.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-05/12.5, allocations: 54.59 kB / 4.101 GB, free: 73.62 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01324/12.51, allocations: 7.024 MB / 4.108 GB, free: 66.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/12.51, allocations: 1.219 MB / 4.109 GB, free: 64.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/12.51, allocations: 0.5708 MB / 4.11 GB, free: 64.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/12.52, allocations: 0.8636 MB / 4.111 GB, free: 63.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/12.52, allocations: 0.5886 MB / 4.111 GB, free: 62.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 4.399e-06/12.52, allocations: 0 / 4.111 GB, free: 62.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.003511/12.52, allocations: 1.148 MB / 4.112 GB, free: 61.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/12.52, allocations: 86.42 kB / 4.112 GB, free: 61.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/12.52, allocations: 0.8198 MB / 4.113 GB, free: 60.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/12.52, allocations: 25.7 kB / 4.113 GB, free: 60.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/12.52, allocations: 0.692 MB / 4.114 GB, free: 59.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000438/12.52, allocations: 366.5 kB / 4.114 GB, free: 59.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/12.52, allocations: 2.844 kB / 4.114 GB, free: 59.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001/12.52, allocations: 349.9 kB / 4.115 GB, free: 59.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008925/12.52, allocations: 406.5 kB / 4.115 GB, free: 58.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/12.53, allocations: 0.575 MB / 4.115 GB, free: 58.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/12.53, allocations: 0.5099 MB / 4.116 GB, free: 57.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/12.53, allocations: 0 / 4.116 GB, free: 57.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003033/12.53, allocations: 1.179 MB / 4.117 GB, free: 56.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/12.53, allocations: 0.9737 MB / 4.118 GB, free: 55.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/12.53, allocations: 4 kB / 4.118 GB, free: 55.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/12.53, allocations: 8 kB / 4.118 GB, free: 55.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/12.53, allocations: 227.6 kB / 4.118 GB, free: 55.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/12.53, allocations: 8 kB / 4.118 GB, free: 55.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/12.53, allocations: 143.1 kB / 4.118 GB, free: 54.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/12.54, allocations: 39.98 kB / 4.118 GB, free: 54.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/12.54, allocations: 12.73 kB / 4.118 GB, free: 54.93 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002758/12.54, allocations: 1.011 MB / 4.119 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/12.54, allocations: 320 / 4.119 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/12.54, allocations: 12 kB / 4.119 GB, free: 53.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/12.54, allocations: 227.6 kB / 4.12 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/12.54, allocations: 4 kB / 4.12 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/12.54, allocations: 131.1 kB / 4.12 GB, free: 53.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/12.54, allocations: 39.98 kB / 4.12 GB, free: 53.51 MB / 0.948 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 () * 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.0003611/12.54, allocations: 128.6 kB / 4.12 GB, free: 53.38 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002815/12.55, allocations: 1.112 MB / 4.121 GB, free: 52.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/12.55, allocations: 134.8 kB / 4.121 GB, free: 52.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/12.55, allocations: 1.207 MB / 4.122 GB, free: 50.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/12.55, allocations: 12 kB / 4.122 GB, free: 50.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/12.55, allocations: 0 / 4.122 GB, free: 50.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002314/12.55, allocations: 1.014 MB / 4.123 GB, free: 49.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007282/12.56, allocations: 3.106 MB / 4.126 GB, free: 46.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/12.56, allocations: 4 kB / 4.126 GB, free: 46.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/12.56, allocations: 243.7 kB / 4.127 GB, free: 46.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/12.56, allocations: 11.95 kB / 4.127 GB, free: 46.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/12.56, allocations: 19.98 kB / 4.127 GB, free: 46.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/12.56, allocations: 11.92 kB / 4.127 GB, free: 46.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/12.56, allocations: 4.156 kB / 4.127 GB, free: 46.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/12.57, allocations: 2.128 MB / 4.129 GB, free: 44.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/12.57, allocations: 359.2 kB / 4.129 GB, free: 43.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/12.57, allocations: 7.984 kB / 4.129 GB, free: 43.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/12.57, allocations: 103.7 kB / 4.129 GB, free: 43.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/12.57, allocations: 77.2 kB / 4.129 GB, free: 43.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/12.57, allocations: 43.97 kB / 4.129 GB, free: 43.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00118/12.57, allocations: 0.6225 MB / 4.13 GB, free: 42.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/12.57, allocations: 0 / 4.13 GB, free: 42.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003437/12.57, allocations: 1.001 MB / 4.131 GB, free: 41.91 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * 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.01003/12.58, allocations: 6.366 MB / 4.137 GB, free: 35.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00373/12.59, allocations: 1.634 MB / 4.139 GB, free: 33.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.599e-06/12.59, allocations: 7.938 kB / 4.139 GB, free: 33.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/12.59, allocations: 0.5415 MB / 4.139 GB, free: 33.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00583/12.6, allocations: 0.7025 MB / 4.14 GB, free: 32.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/12.6, allocations: 3.066 MB / 4.143 GB, free: 29.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/12.6, allocations: 1.397 MB / 4.144 GB, free: 27.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003906/12.61, allocations: 0.5528 MB / 4.145 GB, free: 27.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/12.61, allocations: 0.5969 MB / 4.145 GB, free: 26.62 MB / 0.948 GB Notification: Performance of SimCode: time 1.203e-06/12.61, allocations: 0 / 4.145 GB, free: 26.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8879/13.5, allocations: 57.21 MB / 4.201 GB, free: 147.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/13.5, allocations: 175.7 kB / 4.201 GB, free: 147.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.585/19.08, allocations: 0 / 4.201 GB, free: 147.6 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)