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.815/1.815, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001271/0.001271, allocations: 191.4 kB / 377.1 MB, free: 1.52 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.228/2.228, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009922/0.0009923, allocations: 89.2 kB / 0.7509 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8115/1.098, allocations: 143.5 MB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.098, allocations: 82.67 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0312/1.129, allocations: 12.37 MB / 1.141 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.853e-06/1.129, allocations: 0 / 1.141 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.003e-05/1.129, allocations: 23.98 kB / 1.141 GB, free: 23.68 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.002072/1.131, allocations: 1.174 MB / 1.142 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.131, allocations: 12.02 kB / 1.142 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/1.132, allocations: 116.6 kB / 1.142 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/1.132, allocations: 101.5 kB / 1.142 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/1.132, allocations: 0.512 MB / 1.143 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/1.132, allocations: 59.78 kB / 1.143 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/1.133, allocations: 79.38 kB / 1.143 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/1.134, allocations: 0.852 MB / 1.144 GB, free: 21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.134, allocations: 0 / 1.144 GB, free: 21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/1.134, allocations: 33.45 kB / 1.144 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/1.134, allocations: 23.94 kB / 1.144 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/1.136, allocations: 0.7671 MB / 1.144 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/1.139, allocations: 2.428 MB / 1.147 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/1.141, allocations: 0.8961 MB / 1.148 GB, free: 17.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-05/1.141, allocations: 9.641 kB / 1.148 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009526/1.142, allocations: 454.1 kB / 1.148 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.825e-06/1.142, allocations: 4 kB / 1.148 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.002279/1.145, allocations: 1.051 MB / 1.149 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.145, allocations: 142.3 kB / 1.149 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/1.146, allocations: 0.5653 MB / 1.15 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/1.146, allocations: 42.5 kB / 1.15 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/1.146, allocations: 357.4 kB / 1.15 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.146, allocations: 185 kB / 1.15 GB, free: 15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/1.146, allocations: 16 kB / 1.15 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.146, allocations: 379.3 kB / 1.151 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/1.147, allocations: 319.2 kB / 1.151 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/1.148, allocations: 425.4 kB / 1.151 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/1.148, allocations: 386.2 kB / 1.152 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.148, allocations: 0 / 1.152 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002568/1.151, allocations: 0.8864 MB / 1.153 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/1.151, allocations: 421.7 kB / 1.153 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.151, allocations: 5.188 kB / 1.153 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.151, allocations: 4 kB / 1.153 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.152, allocations: 152.5 kB / 1.153 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.152, allocations: 8.656 kB / 1.153 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/1.153, allocations: 148.7 kB / 1.153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/1.153, allocations: 17.59 kB / 1.153 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.153, allocations: 7.938 kB / 1.153 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002064/1.155, allocations: 0.6844 MB / 1.154 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.155, allocations: 1.172 kB / 1.154 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.016e-06/1.155, allocations: 4 kB / 1.154 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/1.156, allocations: 132.6 kB / 1.154 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.156, allocations: 4.75 kB / 1.154 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/1.157, allocations: 122 kB / 1.154 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/1.157, allocations: 21.22 kB / 1.154 GB, free: 11.22 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 () * Number of clocked 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.0007713/1.158, allocations: 302.6 kB / 1.155 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.158, allocations: 72.19 kB / 1.155 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/1.161, allocations: 0.7875 MB / 1.155 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.161, allocations: 4 kB / 1.155 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.161, allocations: 5.594 kB / 1.155 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.161, allocations: 2.906 kB / 1.155 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/1.165, allocations: 1.591 MB / 1.157 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.165, allocations: 0 / 1.157 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/1.166, allocations: 141.9 kB / 1.157 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/1.166, allocations: 5.453 kB / 1.157 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/1.166, allocations: 17.12 kB / 1.157 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.166, allocations: 0 / 1.157 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.166, allocations: 6.156 kB / 1.157 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/1.17, allocations: 1.256 MB / 1.158 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/1.17, allocations: 162.3 kB / 1.159 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.17, allocations: 13.41 kB / 1.159 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/1.171, allocations: 92.22 kB / 1.159 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/1.171, allocations: 57.33 kB / 1.159 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/1.171, allocations: 14.34 kB / 1.159 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009332/1.172, allocations: 459.7 kB / 1.159 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.172, allocations: 0 / 1.159 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001117/1.173, allocations: 260.5 kB / 1.159 GB, free: 6.609 MB / 0.7292 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) * Number of clocked states: 0 () * 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.003902/1.177, allocations: 1.851 MB / 1.161 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003411/1.18, allocations: 1.266 MB / 1.162 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.18, allocations: 0 / 1.162 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.182, allocations: 382.6 kB / 1.163 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/1.183, allocations: 115 kB / 1.163 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.194, allocations: 4.998 MB / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/1.195, allocations: 0.9465 MB / 1.169 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006148/1.196, allocations: 77.97 kB / 1.169 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/1.196, allocations: 283.3 kB / 1.169 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/1.196, allocations: 0 / 1.169 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/1.237, allocations: 13.77 MB / 1.183 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.237, allocations: 192.1 kB / 1.183 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.973, allocations: 4 kB / 1.183 GB, free: 15.13 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)