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.507/1.507, allocations: 249.3 MB / 261.8 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 186.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008648/0.0008651, allocations: 100.3 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.545e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2383, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.087, allocations: 139.4 MB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/1.088, allocations: 97.39 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02364/1.111, allocations: 8.792 MB / 1.037 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.913e-06/1.112, allocations: 4 kB / 1.037 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.286e-05/1.112, allocations: 16.88 kB / 1.037 GB, free: 3.949 MB / 0.6511 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.0014/1.113, allocations: 0.737 MB / 1.037 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.113, allocations: 8.031 kB / 1.037 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/1.113, allocations: 95.02 kB / 1.038 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/1.113, allocations: 63.25 kB / 1.038 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/1.114, allocations: 422.5 kB / 1.038 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/1.114, allocations: 39 kB / 1.038 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/1.114, allocations: 48.94 kB / 1.038 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/1.115, allocations: 0.5059 MB / 1.039 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.115, allocations: 3.953 kB / 1.039 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/1.115, allocations: 18 kB / 1.039 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/1.115, allocations: 15.94 kB / 1.039 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/1.116, allocations: 337.4 kB / 1.039 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/1.118, allocations: 1.901 MB / 1.041 GB, free: 412 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/1.119, allocations: 299.7 kB / 1.041 GB, free: 208 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/1.119, allocations: 126.2 kB / 1.041 GB, free: 132 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/1.119, allocations: 8 kB / 1.041 GB, free: 124 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/1.119, allocations: 187.7 kB / 1.041 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/1.119, allocations: 0 / 1.041 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34): time 0.0005728/1.12, allocations: 290.5 kB / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/1.12, allocations: 118.5 kB / 1.042 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/1.12, allocations: 362.7 kB / 1.042 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/1.12, allocations: 40.7 kB / 1.042 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/1.121, allocations: 253.7 kB / 1.042 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/1.121, allocations: 99.33 kB / 1.043 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/1.121, allocations: 5.875 kB / 1.043 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.121, allocations: 354 kB / 1.043 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.121, allocations: 124.8 kB / 1.043 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/1.121, allocations: 245.5 kB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/1.122, allocations: 158.8 kB / 1.043 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.122, allocations: 0 / 1.043 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007079/1.122, allocations: 455.2 kB / 1.044 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/1.122, allocations: 35.89 kB / 1.044 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.123, allocations: 4 kB / 1.044 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.123, allocations: 4 kB / 1.044 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/1.123, allocations: 87.75 kB / 1.044 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.123, allocations: 8 kB / 1.044 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/1.123, allocations: 78.75 kB / 1.044 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/1.123, allocations: 23.2 kB / 1.044 GB, free: 13.7 MB / 0.6667 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.0001591/1.124, allocations: 161.2 kB / 1.044 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/1.124, allocations: 39.53 kB / 1.044 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/1.124, allocations: 334.5 kB / 1.045 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.124, allocations: 4 kB / 1.045 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.124, allocations: 0 / 1.045 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.124, allocations: 0 / 1.045 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.126, allocations: 0.9236 MB / 1.045 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.126, allocations: 0 / 1.045 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/1.126, allocations: 55.95 kB / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.126, allocations: 0 / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/1.126, allocations: 27.39 kB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.126, allocations: 3.953 kB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.126, allocations: 4 kB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/1.127, allocations: 0.5624 MB / 1.046 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/1.127, allocations: 149.6 kB / 1.046 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/1.127, allocations: 14.75 kB / 1.046 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/1.128, allocations: 55.45 kB / 1.046 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.128, allocations: 47.42 kB / 1.046 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/1.128, allocations: 8 kB / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002978/1.128, allocations: 273.3 kB / 1.047 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.4e-07/1.128, allocations: 0 / 1.047 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004849/1.129, allocations: 90.03 kB / 1.047 GB, free: 11.47 MB / 0.6667 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.00121/1.13, allocations: 1.208 MB / 1.048 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006348/1.13, allocations: 379.6 kB / 1.048 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.13, allocations: 0 / 1.048 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/1.131, allocations: 150.7 kB / 1.048 GB, free: 10 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/1.131, allocations: 77.06 kB / 1.048 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/1.133, allocations: 0.6207 MB / 1.049 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/1.133, allocations: 0.8357 MB / 1.05 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002308/1.133, allocations: 59.38 kB / 1.05 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/1.133, allocations: 158.3 kB / 1.05 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of SimCode: time 3.31e-07/1.134, allocations: 0 / 1.05 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/1.156, allocations: 8.909 MB / 1.059 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/1.157, allocations: 179.5 kB / 1.059 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.651, allocations: 0 / 1.059 GB, free: 15.45 MB / 0.6823 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)