Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.PreHeatCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",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.658/1.658, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001158/0.001158, allocations: 176.9 kB / 361.4 MB, free: 6.875 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.642/1.642, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008834/0.0008833, allocations: 98.91 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.736e-05, allocations: 0 / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7004, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.9066, allocations: 145 MB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.907, allocations: 99.53 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.9306, allocations: 8.66 MB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.607e-06/0.9307, allocations: 0 / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.037e-05/0.9307, allocations: 15.94 kB / 1.115 GB, free: 2.109 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001344/0.9321, allocations: 0.7469 MB / 1.115 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9322, allocations: 8.031 kB / 1.115 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.9323, allocations: 63.3 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.9329, allocations: 424.7 kB / 1.116 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.9329, allocations: 16 kB / 1.116 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.933, allocations: 31.98 kB / 1.116 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005722/0.9336, allocations: 302.6 kB / 1.116 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.9343, allocations: 458.4 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.9344, allocations: 0 / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.9344, allocations: 11.95 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.9344, allocations: 11.94 kB / 1.117 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.9366, allocations: 1.794 MB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.9372, allocations: 279.7 kB / 1.119 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.9374, allocations: 121.8 kB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.9375, allocations: 8.781 kB / 1.119 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.9378, allocations: 177.2 kB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.9378, allocations: 0 / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0005656/0.9384, allocations: 263.2 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.9385, allocations: 110.8 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.9389, allocations: 293.4 kB / 1.12 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.9389, allocations: 37.7 kB / 1.12 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.9391, allocations: 259.9 kB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/0.9392, allocations: 88.22 kB / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.9392, allocations: 0 / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9394, allocations: 350.8 kB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.9396, allocations: 117.1 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.9399, allocations: 233.7 kB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.9401, allocations: 121.6 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9401, allocations: 0 / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006067/0.9408, allocations: 378.2 kB / 1.121 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.9408, allocations: 45.62 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9408, allocations: 0 / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.9409, allocations: 8 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.9412, allocations: 84.56 kB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.9413, allocations: 10.42 kB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.9417, allocations: 63.83 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.9417, allocations: 16 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0001713/0.9419, allocations: 152.5 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000437/0.9423, allocations: 265.4 kB / 1.122 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.9424, allocations: 35.53 kB / 1.122 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.943, allocations: 304.8 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9431, allocations: 4 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9431, allocations: 0 / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.9431, allocations: 3.984 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.9444, allocations: 0.8279 MB / 1.123 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.9444, allocations: 4 kB / 1.123 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.9447, allocations: 55.89 kB / 1.123 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.9447, allocations: 0 / 1.123 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.9448, allocations: 9.547 kB / 1.123 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.9448, allocations: 4.031 kB / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.9448, allocations: 7.984 kB / 1.123 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.9456, allocations: 0.5286 MB / 1.123 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.9457, allocations: 144.6 kB / 1.124 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/0.9458, allocations: 4 kB / 1.124 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.9462, allocations: 48.02 kB / 1.124 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.9463, allocations: 51.88 kB / 1.124 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.9463, allocations: 8 kB / 1.124 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002242/0.9466, allocations: 212.6 kB / 1.124 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.823e-06/0.9466, allocations: 0 / 1.124 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004519/0.947, allocations: 91.66 kB / 1.124 GB, free: 8.117 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001228/0.9483, allocations: 1.179 MB / 1.125 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006072/0.9489, allocations: 351.2 kB / 1.125 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9489, allocations: 0 / 1.125 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.9492, allocations: 143.9 kB / 1.126 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.9497, allocations: 74.22 kB / 1.126 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.951, allocations: 0.5871 MB / 1.126 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.9515, allocations: 0.8357 MB / 1.127 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.9517, allocations: 55.25 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.952, allocations: 160.2 kB / 1.127 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/0.952, allocations: 0 / 1.127 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.9793, allocations: 7.763 MB / 1.135 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.9795, allocations: 168.4 kB / 1.135 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/3.087, allocations: 3.75 kB / 1.135 GB, free: 12.9 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)