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.712/1.712, allocations: 285.4 MB / 298 MB, free: 5.922 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.001118/0.001118, allocations: 184.8 kB / 366.4 MB, free: 2.074 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.607/1.607, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008851/0.0008852, allocations: 80.8 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.226e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7946, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/1.017, allocations: 145.7 MB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.018, allocations: 95.92 kB / 1.113 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02304/1.041, allocations: 8.759 MB / 1.122 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.637e-06/1.041, allocations: 0 / 1.122 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.575e-05/1.041, allocations: 11.94 kB / 1.122 GB, free: 13.27 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001473/1.042, allocations: 0.7466 MB / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.042, allocations: 12.03 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/1.043, allocations: 82.48 kB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/1.043, allocations: 63.33 kB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/1.043, allocations: 420.4 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/1.043, allocations: 40.98 kB / 1.123 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.044, allocations: 51.98 kB / 1.123 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008958/1.045, allocations: 0.5049 MB / 1.124 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.045, allocations: 0 / 1.124 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/1.045, allocations: 23.95 kB / 1.124 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/1.045, allocations: 19.94 kB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000626/1.045, allocations: 335.9 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/1.048, allocations: 1.902 MB / 1.126 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/1.048, allocations: 295.2 kB / 1.126 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/1.049, allocations: 129.6 kB / 1.126 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/1.049, allocations: 4 kB / 1.126 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/1.049, allocations: 189.5 kB / 1.127 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/1.049, allocations: 0 / 1.127 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.000594/1.05, allocations: 300.7 kB / 1.127 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/1.05, allocations: 110.8 kB / 1.127 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/1.05, allocations: 358.7 kB / 1.127 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/1.05, allocations: 45.69 kB / 1.127 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/1.051, allocations: 248.2 kB / 1.128 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.051, allocations: 94.8 kB / 1.128 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/1.051, allocations: 4 kB / 1.128 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.051, allocations: 362.7 kB / 1.128 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.051, allocations: 121.1 kB / 1.128 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/1.052, allocations: 246.8 kB / 1.128 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/1.052, allocations: 159.2 kB / 1.129 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.052, allocations: 4 kB / 1.129 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007408/1.053, allocations: 463.2 kB / 1.129 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/1.053, allocations: 33.7 kB / 1.129 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.053, allocations: 4 kB / 1.129 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.053, allocations: 8 kB / 1.129 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.053, allocations: 88.19 kB / 1.129 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.053, allocations: 4 kB / 1.129 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/1.053, allocations: 79.64 kB / 1.129 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.054, allocations: 23.2 kB / 1.129 GB, free: 5.426 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.0001834/1.054, allocations: 156.7 kB / 1.129 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/1.054, allocations: 43.44 kB / 1.129 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/1.054, allocations: 330.1 kB / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.054, allocations: 8 kB / 1.13 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.054, allocations: 0 / 1.13 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.054, allocations: 3.984 kB / 1.13 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.056, allocations: 0.9171 MB / 1.131 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.056, allocations: 4 kB / 1.131 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/1.056, allocations: 59.98 kB / 1.131 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.056, allocations: 0 / 1.131 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/1.056, allocations: 11.94 kB / 1.131 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/1.056, allocations: 4 kB / 1.131 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.056, allocations: 3.953 kB / 1.131 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/1.057, allocations: 0.5637 MB / 1.131 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/1.057, allocations: 152.5 kB / 1.131 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/1.057, allocations: 12 kB / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.058, allocations: 59.95 kB / 1.131 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.058, allocations: 39.94 kB / 1.132 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/1.058, allocations: 15.98 kB / 1.132 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003129/1.058, allocations: 261.2 kB / 1.132 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.763e-06/1.058, allocations: 1.5 kB / 1.132 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000416/1.059, allocations: 95.86 kB / 1.132 GB, free: 2.598 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.001296/1.06, allocations: 1.218 MB / 1.133 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006143/1.061, allocations: 363.8 kB / 1.133 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.061, allocations: 0 / 1.133 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/1.061, allocations: 156 kB / 1.134 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/1.061, allocations: 75.22 kB / 1.134 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/1.063, allocations: 0.6254 MB / 1.134 GB, free: 96 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.063, allocations: 0.8436 MB / 1.135 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002343/1.064, allocations: 47.39 kB / 1.135 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/1.064, allocations: 155.4 kB / 1.135 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/1.064, allocations: 0 / 1.135 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/1.087, allocations: 8.908 MB / 1.144 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/1.087, allocations: 179.5 kB / 1.144 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.336, allocations: 1.219 kB / 1.144 GB, free: 6.23 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)