Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 285.4 MB / 298 MB, free: 5.988 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.0011/0.0011, allocations: 164.9 kB / 366.4 MB, free: 2.066 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.691/1.691, allocations: 205.1 MB / 0.6248 GB, free: 7.699 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.001126/0.001126, allocations: 98.14 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.414e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.786, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.9988, allocations: 142.5 MB / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.9991, allocations: 81.16 kB / 1.11 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03356/1.033, allocations: 12.36 MB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.667e-06/1.033, allocations: 0 / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.142e-05/1.033, allocations: 19.94 kB / 1.122 GB, free: 12.91 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.002013/1.035, allocations: 1.045 MB / 1.123 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.035, allocations: 8.031 kB / 1.123 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/1.035, allocations: 114.5 kB / 1.123 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/1.035, allocations: 94.88 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/1.036, allocations: 0.5064 MB / 1.124 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/1.036, allocations: 61.98 kB / 1.124 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/1.036, allocations: 72 kB / 1.124 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/1.038, allocations: 0.7176 MB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.038, allocations: 0 / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/1.038, allocations: 33.86 kB / 1.125 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/1.038, allocations: 20 kB / 1.125 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/1.039, allocations: 0.5038 MB / 1.125 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/1.042, allocations: 2.446 MB / 1.128 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.043, allocations: 0.5706 MB / 1.128 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/1.044, allocations: 254.2 kB / 1.129 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/1.044, allocations: 12.39 kB / 1.129 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005905/1.045, allocations: 315.5 kB / 1.129 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.716e-06/1.045, allocations: 0 / 1.129 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0009007/1.045, allocations: 494.2 kB / 1.129 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/1.046, allocations: 137.1 kB / 1.129 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/1.046, allocations: 0.5701 MB / 1.13 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/1.046, allocations: 41.69 kB / 1.13 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/1.047, allocations: 352.8 kB / 1.13 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/1.047, allocations: 189.3 kB / 1.131 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/1.047, allocations: 12 kB / 1.131 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.047, allocations: 378.8 kB / 1.131 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/1.047, allocations: 180.7 kB / 1.131 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/1.048, allocations: 293.1 kB / 1.131 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/1.048, allocations: 250.7 kB / 1.132 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.048, allocations: 4 kB / 1.132 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009388/1.049, allocations: 0.6186 MB / 1.132 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.049, allocations: 421.7 kB / 1.133 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.049, allocations: 0 / 1.133 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.049, allocations: 4 kB / 1.133 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.05, allocations: 159.8 kB / 1.133 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.05, allocations: 7.953 kB / 1.133 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/1.051, allocations: 143.2 kB / 1.133 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/1.051, allocations: 25.67 kB / 1.133 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.051, allocations: 4.781 kB / 1.133 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008152/1.052, allocations: 0.5203 MB / 1.134 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/1.052, allocations: 0 / 1.134 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/1.052, allocations: 4 kB / 1.134 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/1.052, allocations: 127.8 kB / 1.134 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.052, allocations: 4.094 kB / 1.134 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/1.053, allocations: 119.5 kB / 1.134 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/1.053, allocations: 16 kB / 1.134 GB, free: 0.75 MB / 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.0001627/1.053, allocations: 136.8 kB / 1.134 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/1.053, allocations: 79.05 kB / 1.134 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009542/1.054, allocations: 0.5222 MB / 1.134 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.054, allocations: 8 kB / 1.134 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.054, allocations: 0 / 1.134 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.054, allocations: 3.938 kB / 1.134 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.056, allocations: 1.332 MB / 1.136 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.056, allocations: 6.922 kB / 1.136 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/1.057, allocations: 143.8 kB / 1.136 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.057, allocations: 0 / 1.136 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/1.057, allocations: 15.98 kB / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.057, allocations: 4 kB / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/1.057, allocations: 0 / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/1.058, allocations: 0.8653 MB / 1.137 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/1.058, allocations: 168.1 kB / 1.137 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/1.058, allocations: 16 kB / 1.137 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/1.059, allocations: 91.91 kB / 1.137 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.059, allocations: 48.48 kB / 1.137 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/1.059, allocations: 17.41 kB / 1.137 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005833/1.06, allocations: 459.2 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 0 / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007396/1.06, allocations: 259.1 kB / 1.138 GB, free: 12.5 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.001708/1.062, allocations: 1.441 MB / 1.139 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.064, allocations: 0.946 MB / 1.14 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.064, allocations: 0 / 1.14 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004359/1.064, allocations: 243.2 kB / 1.14 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/1.065, allocations: 120.5 kB / 1.14 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/1.067, allocations: 1.02 MB / 1.141 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/1.068, allocations: 0.9441 MB / 1.142 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005216/1.068, allocations: 107.6 kB / 1.143 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.069, allocations: 279.3 kB / 1.143 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/1.069, allocations: 0 / 1.143 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/1.101, allocations: 14.64 MB / 1.157 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/1.101, allocations: 177.8 kB / 1.157 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.709, allocations: 0 / 1.157 GB, free: 8.746 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)