Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.456/2.456, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001508/0.001507, allocations: 184.8 kB / 360.6 MB, free: 7.289 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.052/2.052, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001111/0.001111, allocations: 96.42 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.048e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8056, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/1.048, allocations: 141.6 MB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.049, allocations: 87.58 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05116/1.1, allocations: 12.25 MB / 1.114 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.189e-06/1.1, allocations: 4 kB / 1.114 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.81e-05/1.1, allocations: 23.88 kB / 1.114 GB, free: 2.508 MB / 0.7136 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.003106/1.103, allocations: 1.041 MB / 1.115 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.103, allocations: 12.03 kB / 1.115 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/1.104, allocations: 101.8 kB / 1.115 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.105, allocations: 0.5025 MB / 1.115 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/1.105, allocations: 27.98 kB / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.105, allocations: 48 kB / 1.115 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/1.106, allocations: 479.9 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/1.108, allocations: 0.6121 MB / 1.117 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.108, allocations: 0 / 1.117 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/1.108, allocations: 4 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/1.108, allocations: 20 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/1.114, allocations: 2.263 MB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/1.115, allocations: 0.5562 MB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/1.116, allocations: 238.2 kB / 1.12 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/1.116, allocations: 8.422 kB / 1.12 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007738/1.117, allocations: 295.3 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.916e-06/1.117, allocations: 4 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001317/1.118, allocations: 462.3 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/1.118, allocations: 141.1 kB / 1.12 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/1.119, allocations: 413.2 kB / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/1.119, allocations: 26.64 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/1.12, allocations: 376 kB / 1.121 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/1.12, allocations: 165.5 kB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/1.12, allocations: 0 / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.12, allocations: 378.8 kB / 1.122 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/1.121, allocations: 169.1 kB / 1.122 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006116/1.121, allocations: 270.5 kB / 1.122 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/1.122, allocations: 194.1 kB / 1.122 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.122, allocations: 0 / 1.122 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001413/1.123, allocations: 0.51 MB / 1.123 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.124, allocations: 424.6 kB / 1.123 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.124, allocations: 6 kB / 1.123 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.124, allocations: 4 kB / 1.123 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.125, allocations: 159.8 kB / 1.123 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.125, allocations: 7.938 kB / 1.123 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.126, allocations: 131.3 kB / 1.123 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/1.126, allocations: 23.98 kB / 1.124 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/1.126, allocations: 4 kB / 1.124 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/1.127, allocations: 417.3 kB / 1.124 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.127, allocations: 4 kB / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/1.127, allocations: 0 / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.128, allocations: 131.9 kB / 1.124 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.128, allocations: 4 kB / 1.124 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/1.129, allocations: 95.61 kB / 1.124 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/1.129, allocations: 16 kB / 1.124 GB, free: 7.531 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.0002111/1.13, allocations: 116.7 kB / 1.124 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001165/1.131, allocations: 466.2 kB / 1.125 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/1.131, allocations: 59.25 kB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.132, allocations: 485.6 kB / 1.125 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.132, allocations: 4 kB / 1.125 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.132, allocations: 5.812 kB / 1.125 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.132, allocations: 0 / 1.125 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.135, allocations: 1.184 MB / 1.126 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.135, allocations: 4 kB / 1.126 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.136, allocations: 143.8 kB / 1.127 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.136, allocations: 0 / 1.127 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/1.136, allocations: 7.984 kB / 1.127 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.136, allocations: 4 kB / 1.127 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.136, allocations: 0 / 1.127 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/1.138, allocations: 0.8147 MB / 1.127 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.138, allocations: 144.3 kB / 1.127 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.138, allocations: 5.969 kB / 1.127 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/1.139, allocations: 91.72 kB / 1.128 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/1.139, allocations: 52.48 kB / 1.128 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/1.139, allocations: 19.98 kB / 1.128 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005545/1.14, allocations: 311 kB / 1.128 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.14, allocations: 4 kB / 1.128 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001081/1.141, allocations: 246.8 kB / 1.128 GB, free: 3.316 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) * 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.00232/1.143, allocations: 1.373 MB / 1.13 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002016/1.145, allocations: 0.8989 MB / 1.13 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.146, allocations: 4.062 kB / 1.13 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006071/1.146, allocations: 234 kB / 1.131 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/1.147, allocations: 90.44 kB / 1.131 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/1.15, allocations: 0.9528 MB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/1.151, allocations: 0.947 MB / 1.133 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000794/1.152, allocations: 97.44 kB / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/1.152, allocations: 271.3 kB / 1.133 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/1.152, allocations: 0 / 1.133 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06295/1.215, allocations: 12.32 MB / 1.145 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/1.216, allocations: 159.8 kB / 1.145 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/4.275, allocations: 4 kB / 1.145 GB, free: 2.059 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)