Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.PreHeatCoil,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00138/0.00138, allocations: 179.8 kB / 326.5 MB, free: 2.234 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.176/2.176, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009592/0.0009593, allocations: 89.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003386, allocations: 8.375 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2393, allocations: 106.3 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.4335, allocations: 139.5 MB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/0.434, allocations: 91.92 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.4579, allocations: 8.824 MB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4579, allocations: 3.938 kB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.458, allocations: 15.94 kB / 1.045 GB, free: 11.56 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001579/0.4596, allocations: 0.7899 MB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.4596, allocations: 8.031 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.4598, allocations: 90.45 kB / 1.046 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.4599, allocations: 55.34 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.4605, allocations: 419.6 kB / 1.046 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.4606, allocations: 45 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.4607, allocations: 47.98 kB / 1.047 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4618, allocations: 0.564 MB / 1.047 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4618, allocations: 7.891 kB / 1.047 GB, free: 9.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.4619, allocations: 20 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4619, allocations: 12 kB / 1.047 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.4629, allocations: 447.7 kB / 1.048 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.4653, allocations: 1.903 MB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4664, allocations: 420.8 kB / 1.05 GB, free: 6.535 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.4665, allocations: 8 kB / 1.05 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/0.4671, allocations: 245.3 kB / 1.05 GB, free: 6.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.454e-06/0.4671, allocations: 0 / 1.05 GB, free: 6.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001412/0.4685, allocations: 0.5415 MB / 1.051 GB, free: 5.727 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.4686, allocations: 114.8 kB / 1.051 GB, free: 5.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.4691, allocations: 368.6 kB / 1.051 GB, free: 5.227 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.4692, allocations: 45.7 kB / 1.051 GB, free: 5.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4694, allocations: 248.2 kB / 1.051 GB, free: 4.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/0.4695, allocations: 102.7 kB / 1.051 GB, free: 4.828 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.4695, allocations: 8 kB / 1.051 GB, free: 4.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4697, allocations: 358.8 kB / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.4702, allocations: 177 kB / 1.052 GB, free: 4.289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.4707, allocations: 298.8 kB / 1.052 GB, free: 3.945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.4712, allocations: 215.2 kB / 1.052 GB, free: 3.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.4712, allocations: 4 kB / 1.052 GB, free: 3.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001112/0.4723, allocations: 0.5503 MB / 1.053 GB, free: 3.164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.4724, allocations: 40.19 kB / 1.053 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4724, allocations: 4.219 kB / 1.053 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4724, allocations: 8 kB / 1.053 GB, free: 3.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.4728, allocations: 83.83 kB / 1.053 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.4728, allocations: 7.984 kB / 1.053 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.4732, allocations: 79.64 kB / 1.053 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.4733, allocations: 20 kB / 1.053 GB, free: 2.922 MB / 0.698 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 () * Number of clocked 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.0003179/0.4736, allocations: 213.6 kB / 1.053 GB, free: 2.707 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.4737, allocations: 43.44 kB / 1.053 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4747, allocations: 445.5 kB / 1.054 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4747, allocations: 4 kB / 1.054 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4747, allocations: 0 / 1.054 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4747, allocations: 3.984 kB / 1.054 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4764, allocations: 1.026 MB / 1.055 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4765, allocations: 0 / 1.055 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.4767, allocations: 67.92 kB / 1.055 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4768, allocations: 0 / 1.055 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4768, allocations: 8 kB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.4768, allocations: 3.984 kB / 1.055 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4768, allocations: 7.891 kB / 1.055 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.4782, allocations: 0.72 MB / 1.056 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.4784, allocations: 156.5 kB / 1.056 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.4785, allocations: 12 kB / 1.056 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.4788, allocations: 59.95 kB / 1.056 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4789, allocations: 47.88 kB / 1.056 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.519/0.9979, allocations: 8.625 kB / 1.056 GB, free: 148 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006936/0.9987, allocations: 266.6 kB / 1.056 GB, free: 147.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9987, allocations: 1.469 kB / 1.056 GB, free: 147.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009378/0.9997, allocations: 90.25 kB / 1.056 GB, free: 147.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.002185/1.002, allocations: 1.363 MB / 1.058 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.003, allocations: 484.7 kB / 1.058 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.003, allocations: 0 / 1.058 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/1.004, allocations: 205.6 kB / 1.058 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/1.004, allocations: 74.42 kB / 1.058 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/1.01, allocations: 4.411 MB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/1.01, allocations: 0.8374 MB / 1.063 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002958/1.01, allocations: 53.31 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/1.011, allocations: 163.8 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/1.011, allocations: 0 / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/1.042, allocations: 8.939 MB / 1.072 GB, free: 143.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/1.042, allocations: 205.1 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.416, allocations: 0 / 1.073 GB, free: 143 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)