Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",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 1.828/1.828, allocations: 289.9 MB / 297.4 MB, free: 6.316 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.00146/0.001461, allocations: 184.8 kB / 366.7 MB, free: 1.629 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.837/1.837, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0009129/0.000913, allocations: 88.06 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.729e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8192, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/1.04, allocations: 142.8 MB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.04, allocations: 84.94 kB / 1.113 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03472/1.075, allocations: 12.25 MB / 1.125 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.829e-06/1.075, allocations: 4 kB / 1.125 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.044e-05/1.075, allocations: 31.92 kB / 1.125 GB, free: 11.03 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002755/1.078, allocations: 1.041 MB / 1.126 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.078, allocations: 12.03 kB / 1.126 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/1.078, allocations: 98.88 kB / 1.126 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.08, allocations: 0.5121 MB / 1.126 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/1.08, allocations: 24 kB / 1.126 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/1.08, allocations: 44 kB / 1.127 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/1.081, allocations: 480 kB / 1.127 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/1.082, allocations: 0.6121 MB / 1.128 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.082, allocations: 0 / 1.128 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.082, allocations: 8 kB / 1.128 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.082, allocations: 16 kB / 1.128 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/1.087, allocations: 2.264 MB / 1.13 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.088, allocations: 0.5479 MB / 1.13 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/1.089, allocations: 243 kB / 1.131 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/1.089, allocations: 4.438 kB / 1.131 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/1.089, allocations: 311.2 kB / 1.131 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.526e-06/1.089, allocations: 0 / 1.131 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001006/1.09, allocations: 458.4 kB / 1.131 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.09, allocations: 137.1 kB / 1.131 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/1.091, allocations: 409.3 kB / 1.132 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/1.091, allocations: 35.09 kB / 1.132 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/1.091, allocations: 368 kB / 1.132 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/1.092, allocations: 169.5 kB / 1.132 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/1.092, allocations: 0 / 1.132 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.092, allocations: 374.8 kB / 1.133 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/1.092, allocations: 173.1 kB / 1.133 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/1.093, allocations: 274.4 kB / 1.133 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/1.093, allocations: 190.1 kB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.093, allocations: 0 / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001015/1.094, allocations: 0.5139 MB / 1.134 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003025/1.094, allocations: 418.6 kB / 1.134 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.094, allocations: 7.984 kB / 1.134 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.095, allocations: 0 / 1.134 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/1.095, allocations: 159.8 kB / 1.134 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.095, allocations: 4 kB / 1.134 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/1.096, allocations: 130.3 kB / 1.135 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/1.096, allocations: 23.95 kB / 1.135 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.096, allocations: 4 kB / 1.135 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008033/1.097, allocations: 421.3 kB / 1.135 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.097, allocations: 11.92 kB / 1.135 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/1.097, allocations: 0 / 1.135 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/1.098, allocations: 131.1 kB / 1.135 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.098, allocations: 4 kB / 1.135 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/1.098, allocations: 87.62 kB / 1.135 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/1.098, allocations: 19.98 kB / 1.135 GB, free: 72 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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.0002527/1.099, allocations: 120.9 kB / 1.135 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008616/1.099, allocations: 454.3 kB / 1.136 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.1, allocations: 59.25 kB / 1.136 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/1.1, allocations: 489.5 kB / 1.136 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.101, allocations: 4 kB / 1.136 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.101, allocations: 0 / 1.136 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.101, allocations: 7.984 kB / 1.136 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/1.103, allocations: 1.18 MB / 1.137 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.103, allocations: 3.938 kB / 1.137 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/1.103, allocations: 147.8 kB / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.103, allocations: 0 / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/1.103, allocations: 8 kB / 1.138 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/1.103, allocations: 0 / 1.138 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.103, allocations: 4 kB / 1.138 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.105, allocations: 0.8148 MB / 1.138 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/1.105, allocations: 140.2 kB / 1.139 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/1.105, allocations: 7.984 kB / 1.139 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/1.105, allocations: 79.86 kB / 1.139 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.106, allocations: 52.48 kB / 1.139 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/1.106, allocations: 23.92 kB / 1.139 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000439/1.106, allocations: 315 kB / 1.139 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.4e-07/1.106, allocations: 7.094 kB / 1.139 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008222/1.107, allocations: 242.8 kB / 1.139 GB, free: 11.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001688/1.109, allocations: 1.375 MB / 1.141 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.11, allocations: 0.9106 MB / 1.141 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.11, allocations: 0 / 1.141 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/1.111, allocations: 226.1 kB / 1.142 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/1.111, allocations: 94.22 kB / 1.142 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/1.114, allocations: 0.9618 MB / 1.143 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/1.114, allocations: 0.9431 MB / 1.144 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000529/1.115, allocations: 94.67 kB / 1.144 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.115, allocations: 271.3 kB / 1.144 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/1.115, allocations: 0 / 1.144 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/1.159, allocations: 12.31 MB / 1.156 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.16, allocations: 151.3 kB / 1.156 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.803, allocations: 7.406 kB / 1.156 GB, free: 10.57 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)