Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 181 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.27/2.27, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001012, allocations: 93.75 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003542, allocations: 8.281 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2664, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.445, allocations: 137.3 MB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4453, allocations: 87.94 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0372/0.4825, allocations: 14.41 MB / 1.048 GB, free: 7.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4825, allocations: 0 / 1.048 GB, free: 7.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.107e-05/0.4826, allocations: 20 kB / 1.048 GB, free: 7.859 MB / 0.698 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.002951/0.4856, allocations: 1.197 MB / 1.05 GB, free: 6.594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4857, allocations: 12.03 kB / 1.05 GB, free: 6.582 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/0.486, allocations: 122.4 kB / 1.05 GB, free: 6.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.4863, allocations: 98.78 kB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.4874, allocations: 0.5452 MB / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/0.4874, allocations: 58 kB / 1.05 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.4876, allocations: 72 kB / 1.05 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.4895, allocations: 0.8825 MB / 1.051 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.4896, allocations: 3.938 kB / 1.051 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.4896, allocations: 28 kB / 1.051 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.4897, allocations: 16 kB / 1.051 GB, free: 4.676 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.4917, allocations: 0.7963 MB / 1.052 GB, free: 3.883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.497, allocations: 2.915 MB / 1.055 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5591/1.056, allocations: 0.9144 MB / 1.056 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/1.056, allocations: 7.938 kB / 1.056 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/1.058, allocations: 436.6 kB / 1.056 GB, free: 144.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 5.12e-06/1.058, allocations: 0 / 1.056 GB, free: 144.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.002685/1.061, allocations: 1.06 MB / 1.057 GB, free: 144.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.061, allocations: 140.7 kB / 1.057 GB, free: 144.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/1.061, allocations: 0.5717 MB / 1.058 GB, free: 144.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/1.061, allocations: 37.36 kB / 1.058 GB, free: 144.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.062, allocations: 368.1 kB / 1.058 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.062, allocations: 183.8 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.062, allocations: 13.19 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/1.062, allocations: 331.6 kB / 1.059 GB, free: 144 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/1.063, allocations: 322.5 kB / 1.059 GB, free: 144 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/1.063, allocations: 435.1 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007351/1.064, allocations: 395.3 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.064, allocations: 0.5469 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001727/1.066, allocations: 0.8978 MB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.066, allocations: 424.4 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.066, allocations: 0 / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.066, allocations: 6.969 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/1.067, allocations: 165.9 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/1.067, allocations: 6.344 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/1.067, allocations: 139.2 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/1.067, allocations: 24.03 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/1.067, allocations: 6.953 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/1.069, allocations: 0.6987 MB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.069, allocations: 3.656 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/1.069, allocations: 4.625 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/1.069, allocations: 140.2 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.069, allocations: 3.609 kB / 1.062 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/1.07, allocations: 115.7 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/1.07, allocations: 19.91 kB / 1.063 GB, free: 143.2 MB / 0.698 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 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0003903/1.07, allocations: 302.9 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/1.07, allocations: 77.95 kB / 1.063 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/1.072, allocations: 0.7987 MB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.072, allocations: 5.969 kB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.072, allocations: 1 kB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.072, allocations: 7.703 kB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/1.075, allocations: 1.629 MB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.075, allocations: 0.9375 kB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/1.076, allocations: 149.6 kB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.076, allocations: 4.016 kB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/1.076, allocations: 19.31 kB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.076, allocations: 3.062 kB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.076, allocations: 1.031 kB / 1.065 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/1.079, allocations: 1.329 MB / 1.067 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/1.079, allocations: 156.2 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/1.079, allocations: 13.28 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/1.08, allocations: 90.61 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.08, allocations: 62.77 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/1.08, allocations: 18.16 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007187/1.081, allocations: 458.2 kB / 1.068 GB, free: 142 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/1.081, allocations: 2.812 kB / 1.068 GB, free: 142 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008474/1.082, allocations: 268.2 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($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.003199/1.085, allocations: 2.102 MB / 1.07 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002886/1.088, allocations: 1.284 MB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.088, allocations: 6.094 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009498/1.089, allocations: 396 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/1.089, allocations: 154.1 kB / 1.072 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.1, allocations: 5.066 MB / 1.077 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/1.1, allocations: 0.9496 MB / 1.077 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005855/1.101, allocations: 86.14 kB / 1.078 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/1.101, allocations: 295.7 kB / 1.078 GB, free: 138 MB / 0.698 GB Notification: Performance of SimCode: time 1.874e-06/1.101, allocations: 1.125 kB / 1.078 GB, free: 138 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/1.138, allocations: 14.5 MB / 1.092 GB, free: 135.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.138, allocations: 210.4 kB / 1.092 GB, free: 135.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.76, allocations: 0 / 1.092 GB, free: 135.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)