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.762/1.762, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.00125/0.001249, allocations: 182.4 kB / 371.8 MB, free: 10.27 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.072/2.072, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 101.1 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 10.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8297/1.109, allocations: 145.8 MB / 1.122 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.109, allocations: 90.95 kB / 1.122 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02246/1.132, allocations: 8.792 MB / 1.13 GB, free: 30.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.132, allocations: 0 / 1.13 GB, free: 30.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.359e-05/1.132, allocations: 7.531 kB / 1.131 GB, free: 30.37 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.001829/1.134, allocations: 0.7987 MB / 1.131 GB, free: 29.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.134, allocations: 19.67 kB / 1.131 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/1.134, allocations: 86.23 kB / 1.131 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/1.134, allocations: 62.14 kB / 1.131 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/1.135, allocations: 418.7 kB / 1.132 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/1.135, allocations: 47.27 kB / 1.132 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/1.135, allocations: 48.56 kB / 1.132 GB, free: 29.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.136, allocations: 0.564 MB / 1.132 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.136, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/1.136, allocations: 21.33 kB / 1.133 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/1.137, allocations: 11.34 kB / 1.133 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.138, allocations: 462 kB / 1.133 GB, free: 29.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/1.14, allocations: 1.9 MB / 1.135 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/1.141, allocations: 419.8 kB / 1.135 GB, free: 27.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/1.141, allocations: 7.5 kB / 1.135 GB, free: 27.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/1.142, allocations: 252.8 kB / 1.135 GB, free: 27.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/1.142, allocations: 0 / 1.135 GB, free: 27.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001317/1.143, allocations: 0.5422 MB / 1.136 GB, free: 27.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1.143, allocations: 117.7 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/1.144, allocations: 364.6 kB / 1.136 GB, free: 27.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/1.144, allocations: 37.05 kB / 1.136 GB, free: 27.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.144, allocations: 252.4 kB / 1.137 GB, free: 26.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/1.144, allocations: 95.78 kB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/1.144, allocations: 11.44 kB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.144, allocations: 356 kB / 1.137 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/1.145, allocations: 177.1 kB / 1.137 GB, free: 26.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/1.145, allocations: 301.7 kB / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/1.145, allocations: 211.8 kB / 1.138 GB, free: 26.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.145, allocations: 4 kB / 1.138 GB, free: 26.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001045/1.146, allocations: 0.5589 MB / 1.138 GB, free: 26.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/1.147, allocations: 33.55 kB / 1.138 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.147, allocations: 7.781 kB / 1.138 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.147, allocations: 7.656 kB / 1.138 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/1.147, allocations: 80.25 kB / 1.139 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.147, allocations: 7.781 kB / 1.139 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/1.147, allocations: 83.39 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/1.147, allocations: 15 kB / 1.139 GB, free: 26.06 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.0003054/1.148, allocations: 210.5 kB / 1.139 GB, free: 25.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/1.148, allocations: 38.59 kB / 1.139 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/1.149, allocations: 443.2 kB / 1.139 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.149, allocations: 7.781 kB / 1.139 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.149, allocations: 0 / 1.139 GB, free: 25.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.149, allocations: 7.984 kB / 1.139 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.15, allocations: 1.021 MB / 1.14 GB, free: 25.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.15, allocations: 4.031 kB / 1.14 GB, free: 25.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/1.151, allocations: 61.73 kB / 1.14 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.151, allocations: 3.812 kB / 1.14 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/1.151, allocations: 11.05 kB / 1.14 GB, free: 25.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/1.151, allocations: 0 / 1.14 GB, free: 25.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.151, allocations: 4 kB / 1.14 GB, free: 25.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/1.152, allocations: 0.7317 MB / 1.141 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/1.152, allocations: 152.4 kB / 1.141 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/1.152, allocations: 13.83 kB / 1.141 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/1.153, allocations: 57.02 kB / 1.141 GB, free: 24.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.153, allocations: 50.5 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/1.153, allocations: 10.91 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002954/1.153, allocations: 268.1 kB / 1.142 GB, free: 24.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.153, allocations: 0 / 1.142 GB, free: 24.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004663/1.154, allocations: 94.59 kB / 1.142 GB, free: 24.66 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.001777/1.156, allocations: 1.358 MB / 1.143 GB, free: 23.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.157, allocations: 488 kB / 1.143 GB, free: 23.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.157, allocations: 0 / 1.143 GB, free: 23.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/1.157, allocations: 208.8 kB / 1.144 GB, free: 23.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/1.157, allocations: 84.95 kB / 1.144 GB, free: 23.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/1.163, allocations: 4.403 MB / 1.148 GB, free: 20.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/1.164, allocations: 0.8404 MB / 1.149 GB, free: 19.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002609/1.164, allocations: 50.3 kB / 1.149 GB, free: 19.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/1.164, allocations: 161.8 kB / 1.149 GB, free: 19.75 MB / 0.698 GB Notification: Performance of SimCode: time 1.793e-06/1.164, allocations: 0 / 1.149 GB, free: 19.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/1.188, allocations: 8.942 MB / 1.158 GB, free: 15.28 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.188, allocations: 212 kB / 1.158 GB, free: 15.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.381, allocations: 0 / 1.158 GB, free: 15.04 MB / 0.698 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)