Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.068/2.068, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001231/0.001231, allocations: 180.8 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.001154/0.001155, allocations: 82.58 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.59e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8034, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/2.047, allocations: 449 MB / 1.412 GB, free: 103 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/2.047, allocations: 94 kB / 1.412 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.374/3.421, allocations: 327.2 MB / 1.731 GB, free: 246.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/3.421, allocations: 2.969 kB / 1.731 GB, free: 246.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001146/3.421, allocations: 26.31 kB / 1.731 GB, free: 246.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003217/3.424, allocations: 1.33 MB / 1.733 GB, free: 245.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/3.425, allocations: 11.09 kB / 1.733 GB, free: 245.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/3.425, allocations: 140.3 kB / 1.733 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/3.427, allocations: 0.9662 MB / 1.734 GB, free: 244.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/3.427, allocations: 22.03 kB / 1.734 GB, free: 244.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/3.427, allocations: 56.91 kB / 1.734 GB, free: 244.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/3.429, allocations: 0.5177 MB / 1.734 GB, free: 244.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/3.43, allocations: 0.7208 MB / 1.735 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/3.43, allocations: 3.969 kB / 1.735 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/3.43, allocations: 4.688 kB / 1.735 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/3.43, allocations: 18.66 kB / 1.735 GB, free: 244.2 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.00509/3.435, allocations: 3.631 MB / 1.739 GB, free: 241.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/3.436, allocations: 0.4891 MB / 1.739 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/3.437, allocations: 256.7 kB / 1.739 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/3.438, allocations: 1.247 MB / 1.741 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/3.439, allocations: 290.9 kB / 1.741 GB, free: 239.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 4.649e-06/3.439, allocations: 0 / 1.741 GB, free: 239.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.00173/3.44, allocations: 0.6324 MB / 1.742 GB, free: 238.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/3.44, allocations: 85.05 kB / 1.742 GB, free: 238.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/3.441, allocations: 0.644 MB / 1.742 GB, free: 238.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/3.441, allocations: 25.7 kB / 1.742 GB, free: 238.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/3.442, allocations: 484 kB / 1.743 GB, free: 237.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/3.442, allocations: 205.7 kB / 1.743 GB, free: 237.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/3.442, allocations: 0 / 1.743 GB, free: 237.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/3.442, allocations: 329.1 kB / 1.743 GB, free: 237.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/3.442, allocations: 177.6 kB / 1.743 GB, free: 237.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/3.442, allocations: 309.5 kB / 1.744 GB, free: 237.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/3.443, allocations: 254.8 kB / 1.744 GB, free: 237 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/3.443, allocations: 0 / 1.744 GB, free: 237 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00123/3.444, allocations: 0.6568 MB / 1.745 GB, free: 236.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/3.445, allocations: 0.8812 MB / 1.745 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/3.445, allocations: 3.969 kB / 1.745 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/3.445, allocations: 86.47 kB / 1.746 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/3.445, allocations: 123 kB / 1.746 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005624/3.446, allocations: 0.6821 MB / 1.746 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/3.447, allocations: 76.39 kB / 1.746 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/3.447, allocations: 27.05 kB / 1.746 GB, free: 235 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/3.447, allocations: 3.875 kB / 1.746 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/3.448, allocations: 0.5341 MB / 1.747 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/3.448, allocations: 3.594 kB / 1.747 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/3.448, allocations: 87.75 kB / 1.747 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/3.448, allocations: 114.4 kB / 1.747 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004942/3.449, allocations: 0.6683 MB / 1.748 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/3.45, allocations: 80.09 kB / 1.748 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/3.45, allocations: 27.14 kB / 1.748 GB, free: 234.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/3.45, allocations: 120.2 kB / 1.748 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001202/3.451, allocations: 0.6238 MB / 1.749 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/3.451, allocations: 98.14 kB / 1.749 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/3.453, allocations: 0.8823 MB / 1.75 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/3.453, allocations: 7.875 kB / 1.75 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/3.453, allocations: 4 kB / 1.75 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/3.454, allocations: 0.821 MB / 1.75 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/3.458, allocations: 1.72 MB / 1.752 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/3.458, allocations: 0 / 1.752 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/3.459, allocations: 108 kB / 1.752 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/3.459, allocations: 136 kB / 1.752 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/3.459, allocations: 11.95 kB / 1.752 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/3.461, allocations: 1.263 MB / 1.754 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/3.461, allocations: 3.188 kB / 1.754 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/3.463, allocations: 1.213 MB / 1.755 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/3.464, allocations: 274.8 kB / 1.755 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/3.464, allocations: 3.969 kB / 1.755 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/3.465, allocations: 50.3 kB / 1.755 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/3.465, allocations: 39.78 kB / 1.755 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/3.465, allocations: 32.11 kB / 1.755 GB, free: 229.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008556/3.466, allocations: 0.5067 MB / 1.756 GB, free: 228.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/3.466, allocations: 0 / 1.756 GB, free: 228.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002292/3.468, allocations: 0.6033 MB / 1.756 GB, free: 228.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005206/3.473, allocations: 2.666 MB / 1.759 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002142/3.476, allocations: 0.8644 MB / 1.76 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/3.476, allocations: 3.938 kB / 1.76 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006651/3.476, allocations: 346.3 kB / 1.76 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/3.478, allocations: 359.1 kB / 1.76 GB, free: 226.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/3.482, allocations: 1.854 MB / 1.762 GB, free: 225.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/3.483, allocations: 1.101 MB / 1.763 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001159/3.484, allocations: 269.5 kB / 1.763 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/3.484, allocations: 389 kB / 1.764 GB, free: 224 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/3.484, allocations: 3.938 kB / 1.764 GB, free: 223.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06165/3.546, allocations: 28.78 MB / 1.792 GB, free: 199.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/3.546, allocations: 172.9 kB / 1.792 GB, free: 199.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/6.99, allocations: 0 / 1.792 GB, free: 199.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)