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.66/1.66, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001464/0.001464, allocations: 187.6 kB / 371.8 MB, free: 10.31 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.759/1.759, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009954/0.0009955, allocations: 94.86 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004869, allocations: 10.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002918/0.2781, allocations: 2.504 MB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.2798, allocations: 1.096 MB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.2801, allocations: 15.94 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2802, allocations: 35.59 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.2806, allocations: 95.66 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.2812, allocations: 242.1 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.2816, allocations: 404.5 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.2821, allocations: 364 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2822, allocations: 163.3 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2824, allocations: 186.9 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2824, allocations: 16 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.2825, allocations: 31.98 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.2826, allocations: 75.67 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.2827, allocations: 105.5 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.283, allocations: 0.5457 MB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.2831, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2831, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.2831, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 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.001372/0.2845, allocations: 0.8007 MB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2845, allocations: 12.02 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.518e-05/0.2846, allocations: 86.52 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.2847, allocations: 63.25 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.2852, allocations: 423.5 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.2853, allocations: 37 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.2854, allocations: 52 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.2862, allocations: 0.5352 MB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2863, allocations: 7.922 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.2863, allocations: 23.94 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2863, allocations: 12 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.2872, allocations: 415.7 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.2892, allocations: 1.864 MB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.2901, allocations: 374.9 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2902, allocations: 4 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005151/0.2907, allocations: 229.4 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.2907, allocations: 0 / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.00113/0.2919, allocations: 0.4935 MB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2919, allocations: 59.41 kB / 0.9905 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.2923, allocations: 401.4 kB / 0.9909 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2923, allocations: 45.7 kB / 0.9909 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2925, allocations: 260.1 kB / 0.9912 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.2925, allocations: 90.73 kB / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.2926, allocations: 12 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.2927, allocations: 358.8 kB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.293, allocations: 161 kB / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.2934, allocations: 273.8 kB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.2938, allocations: 195.3 kB / 0.9922 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2939, allocations: 0 / 0.9922 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009293/0.2948, allocations: 0.5495 MB / 0.9927 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.2948, allocations: 33.7 kB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2948, allocations: 4 kB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.2949, allocations: 8 kB / 0.9928 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.2952, allocations: 84.06 kB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2952, allocations: 8 kB / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.2955, allocations: 83.39 kB / 0.993 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.2956, allocations: 20 kB / 0.993 GB, free: 13.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,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 (58): * Single equations (assignments): 57 * 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.0002285/0.2958, allocations: 205.7 kB / 0.9932 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.2959, allocations: 43.48 kB / 0.9932 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.2967, allocations: 409.5 kB / 0.9936 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2967, allocations: 4 kB / 0.9936 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2968, allocations: 0 / 0.9936 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2968, allocations: 11.88 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2981, allocations: 0.9794 MB / 0.9946 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2981, allocations: 0 / 0.9946 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.2984, allocations: 55.92 kB / 0.9946 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2984, allocations: 4 kB / 0.9946 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.2984, allocations: 4 kB / 0.9946 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2984, allocations: 4 kB / 0.9946 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2984, allocations: 3.984 kB / 0.9946 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2996, allocations: 0.6651 MB / 0.9953 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2997, allocations: 148.5 kB / 0.9954 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.2997, allocations: 11.98 kB / 0.9954 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.3001, allocations: 48.02 kB / 0.9955 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3002, allocations: 43.94 kB / 0.9955 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.3002, allocations: 11.98 kB / 0.9955 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002148/0.3004, allocations: 267.1 kB / 0.9958 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3004, allocations: 4 kB / 0.9958 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003942/0.3008, allocations: 99.64 kB / 0.9959 GB, free: 10.3 MB / 0.6198 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.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,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.001381/0.3022, allocations: 1.297 MB / 0.9972 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008308/0.3031, allocations: 451.7 kB / 0.9976 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3031, allocations: 4.062 kB / 0.9976 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.3035, allocations: 187.8 kB / 0.9978 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.3039, allocations: 84.02 kB / 0.9979 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.3083, allocations: 4.469 MB / 1.002 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3087, allocations: 0.8396 MB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.3089, allocations: 59.42 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3091, allocations: 159.4 kB / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.3092, allocations: 0 / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.3318, allocations: 8.562 MB / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.3321, allocations: 211.7 kB / 1.012 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.59, allocations: 4 kB / 1.012 GB, free: 9.977 MB / 0.6355 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)