Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",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.883/1.883, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001309/0.001309, allocations: 181 kB / 371.8 MB, free: 10.29 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.784/1.784, 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.0009648/0.0009647, allocations: 86.92 kB / 0.7439 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004735, allocations: 15.81 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002272/0.2768, allocations: 1.685 MB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2778, allocations: 0.7219 MB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.278, allocations: 4 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2781, allocations: 19.8 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/0.2782, allocations: 35.88 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2785, allocations: 111.8 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.2788, allocations: 219.6 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.2791, allocations: 194.4 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2792, allocations: 99.67 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.2793, allocations: 107.5 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.2794, allocations: 12 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.2794, allocations: 19.98 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.2795, allocations: 59.75 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.2796, allocations: 65.58 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.2798, allocations: 311.5 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2798, allocations: 0 / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2798, allocations: 0 / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2799, allocations: 4 kB / 0.983 GB, free: 23.96 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008026/0.2807, allocations: 0.541 MB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2807, allocations: 12.03 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.493e-05/0.2808, allocations: 70.53 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.2809, allocations: 35.58 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2812, allocations: 270.6 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.2812, allocations: 24.66 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.2812, allocations: 32 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.2818, allocations: 336.8 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2818, allocations: 0 / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.2819, allocations: 12 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2819, allocations: 11.94 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.2824, allocations: 254.1 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2836, allocations: 0.9552 MB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.2842, allocations: 279 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2842, allocations: 4 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.2846, allocations: 191.2 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.2846, allocations: 0 / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007485/0.2854, allocations: 370 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2854, allocations: 59.41 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.2856, allocations: 203.2 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.2856, allocations: 41.7 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.2857, allocations: 152.6 kB / 0.9868 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.2858, allocations: 86.83 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.2858, allocations: 12 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.2859, allocations: 334.8 kB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.2861, allocations: 112.8 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.2864, allocations: 169.5 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.2866, allocations: 137.4 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2866, allocations: 0 / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005841/0.2872, allocations: 374.8 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.2873, allocations: 37.69 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2873, allocations: 0 / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2873, allocations: 4 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2875, allocations: 48.06 kB / 0.988 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2875, allocations: 4 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.2877, allocations: 59.66 kB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.2878, allocations: 15.95 kB / 0.9881 GB, free: 18.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001522/0.2879, allocations: 181.7 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.288, allocations: 23.72 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.2886, allocations: 298.4 kB / 0.9886 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2886, allocations: 7.984 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2886, allocations: 4 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2886, allocations: 0 / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.2896, allocations: 0.7609 MB / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2896, allocations: 0 / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.2897, allocations: 31.92 kB / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2897, allocations: 0 / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.2897, allocations: 7.984 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2897, allocations: 7.953 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2898, allocations: 4 kB / 0.9894 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.2902, allocations: 379.3 kB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2903, allocations: 104.8 kB / 0.9898 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.2903, allocations: 4 kB / 0.9898 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.2906, allocations: 51.84 kB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2907, allocations: 47.88 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2907, allocations: 8 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.2908, allocations: 127.5 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2908, allocations: 3.938 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002942/0.2911, allocations: 87.77 kB / 0.9902 GB, free: 16.28 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0007813/0.2919, allocations: 0.9298 MB / 0.9911 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.2924, allocations: 335.3 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2924, allocations: 4.062 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.2927, allocations: 143.8 kB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.293, allocations: 29.81 kB / 0.9916 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.2951, allocations: 2.174 MB / 0.9937 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2953, allocations: 0.7681 MB / 0.9944 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000107/0.2955, allocations: 30.28 kB / 0.9945 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2956, allocations: 83.41 kB / 0.9945 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2956, allocations: 0 / 0.9945 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.3138, allocations: 5.072 MB / 0.9995 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.3141, allocations: 224.8 kB / 0.9997 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.21, allocations: 0 / 0.9997 GB, free: 6.539 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)