Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.577/2.577, allocations: 287.3 MB / 302.3 MB, free: 8.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.001511/0.001511, allocations: 181.1 kB / 370.8 MB, free: 10.87 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.396/2.396, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001214/0.001214, allocations: 86.86 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 18.53 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9473/1.163, allocations: 145.6 MB / 1.12 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.163, allocations: 97.45 kB / 1.121 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03453/1.198, allocations: 8.782 MB / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/1.198, allocations: 0 / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.358e-05/1.198, allocations: 11.69 kB / 1.129 GB, free: 30.57 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.00217/1.2, allocations: 0.7961 MB / 1.13 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.2, allocations: 11.67 kB / 1.13 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/1.2, allocations: 84.77 kB / 1.13 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/1.2, allocations: 62.38 kB / 1.13 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/1.201, allocations: 428.5 kB / 1.13 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/1.201, allocations: 39.03 kB / 1.131 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.201, allocations: 53.33 kB / 1.131 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/1.203, allocations: 0.5667 MB / 1.131 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.203, allocations: 7.922 kB / 1.131 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/1.203, allocations: 22.84 kB / 1.131 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/1.203, allocations: 11.5 kB / 1.131 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/1.205, allocations: 452.7 kB / 1.132 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/1.208, allocations: 1.893 MB / 1.133 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/1.21, allocations: 420.3 kB / 1.134 GB, free: 27.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/1.21, allocations: 7.812 kB / 1.134 GB, free: 27.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008312/1.211, allocations: 244.1 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 3.727e-06/1.211, allocations: 0 / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.00224/1.213, allocations: 0.5437 MB / 1.135 GB, free: 27.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/1.213, allocations: 114.4 kB / 1.135 GB, free: 27.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/1.214, allocations: 368.6 kB / 1.135 GB, free: 27.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.214, allocations: 44.95 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/1.214, allocations: 242.3 kB / 1.135 GB, free: 27.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.214, allocations: 100 kB / 1.135 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/1.214, allocations: 11.53 kB / 1.135 GB, free: 27.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.215, allocations: 355.8 kB / 1.136 GB, free: 26.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/1.215, allocations: 178.6 kB / 1.136 GB, free: 26.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/1.216, allocations: 295 kB / 1.136 GB, free: 26.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/1.217, allocations: 211.1 kB / 1.136 GB, free: 26.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.217, allocations: 0 / 1.136 GB, free: 26.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001889/1.219, allocations: 0.561 MB / 1.137 GB, free: 26.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/1.219, allocations: 33.52 kB / 1.137 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.219, allocations: 3.984 kB / 1.137 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.219, allocations: 8.031 kB / 1.137 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/1.22, allocations: 91.64 kB / 1.137 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.22, allocations: 3.906 kB / 1.137 GB, free: 26.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/1.22, allocations: 84.56 kB / 1.137 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/1.22, allocations: 15.38 kB / 1.137 GB, free: 26.27 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.0004712/1.221, allocations: 213.6 kB / 1.137 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/1.221, allocations: 38.78 kB / 1.137 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/1.223, allocations: 449.2 kB / 1.138 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.223, allocations: 3.875 kB / 1.138 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.223, allocations: 0 / 1.138 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.223, allocations: 0 / 1.138 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/1.225, allocations: 1.032 MB / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.225, allocations: 3.938 kB / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/1.226, allocations: 62.11 kB / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.226, allocations: 3.844 kB / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/1.226, allocations: 7.062 kB / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.226, allocations: 0 / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.226, allocations: 3.953 kB / 1.139 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/1.228, allocations: 0.7432 MB / 1.14 GB, free: 25.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/1.229, allocations: 149.7 kB / 1.14 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/1.229, allocations: 10.78 kB / 1.14 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/1.229, allocations: 62.89 kB / 1.14 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.229, allocations: 44.34 kB / 1.14 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/1.23, allocations: 14.36 kB / 1.14 GB, free: 24.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000425/1.23, allocations: 263.3 kB / 1.14 GB, free: 24.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.23, allocations: 0 / 1.14 GB, free: 24.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006071/1.231, allocations: 98.39 kB / 1.14 GB, free: 24.86 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.002844/1.233, allocations: 1.352 MB / 1.142 GB, free: 23.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001674/1.235, allocations: 486.3 kB / 1.142 GB, free: 23.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.235, allocations: 0 / 1.142 GB, free: 23.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007475/1.236, allocations: 211.3 kB / 1.142 GB, free: 23.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/1.237, allocations: 73.98 kB / 1.142 GB, free: 23.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/1.244, allocations: 4.417 MB / 1.147 GB, free: 20.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/1.245, allocations: 0.8354 MB / 1.148 GB, free: 20 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003984/1.245, allocations: 54.2 kB / 1.148 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/1.246, allocations: 159.1 kB / 1.148 GB, free: 19.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.246, allocations: 0 / 1.148 GB, free: 19.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/1.28, allocations: 8.942 MB / 1.156 GB, free: 15.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/1.28, allocations: 201.3 kB / 1.157 GB, free: 15.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/4.11, allocations: 0 / 1.157 GB, free: 15.52 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.fmu > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)