Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005679, allocations: 12.31 kB / 0.6737 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2795, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002297/0.2818, allocations: 1.7 MB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2831, allocations: 0.7143 MB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2833, allocations: 11.94 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2834, allocations: 19.8 kB / 0.7897 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2835, allocations: 27.72 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.2839, allocations: 107.8 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.2843, allocations: 343.3 kB / 0.7901 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.2847, allocations: 194.5 kB / 0.7903 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2848, allocations: 99.61 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.285, allocations: 119.4 kB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.285, allocations: 12 kB / 0.7905 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.331e-05/0.2851, allocations: 16 kB / 0.7905 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.2852, allocations: 51.77 kB / 0.7906 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2853, allocations: 73.58 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.2856, allocations: 307.5 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2856, allocations: 0 / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2856, allocations: 0 / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2856, allocations: 0 / 0.791 GB, free: 8.145 MB / 0.6075 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.0008605/0.2865, allocations: 0.5521 MB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2865, allocations: 12.02 kB / 0.7915 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.2866, allocations: 35.58 kB / 0.7915 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2869, allocations: 266.5 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.287, allocations: 24.66 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.287, allocations: 32 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.2877, allocations: 340.8 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2877, allocations: 0 / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.2878, allocations: 15.94 kB / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2878, allocations: 8 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.2884, allocations: 258 kB / 0.7924 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.2899, allocations: 0.9667 MB / 0.7934 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.2905, allocations: 277.5 kB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.2907, allocations: 120.8 kB / 0.7938 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2908, allocations: 8 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004594/0.2912, allocations: 183.3 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.2913, allocations: 0 / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0008535/0.2921, allocations: 375.3 kB / 0.7943 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.2922, allocations: 55.41 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2924, allocations: 207.2 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.2924, allocations: 41.7 kB / 0.7946 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2925, allocations: 144.6 kB / 0.7947 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.2926, allocations: 90.83 kB / 0.7948 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.2927, allocations: 8 kB / 0.7948 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2928, allocations: 334.8 kB / 0.7952 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.2931, allocations: 116.8 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.2934, allocations: 165.5 kB / 0.7954 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.2937, allocations: 137.6 kB / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2937, allocations: 3.938 kB / 0.7956 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000674/0.2944, allocations: 374.8 kB / 0.7959 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.2945, allocations: 37.69 kB / 0.796 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2945, allocations: 0 / 0.796 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2945, allocations: 4 kB / 0.796 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2947, allocations: 43.91 kB / 0.796 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2947, allocations: 4.156 kB / 0.796 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.295, allocations: 59.66 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.295, allocations: 19.95 kB / 0.7961 GB, free: 2.629 MB / 0.6075 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.0002429/0.2953, allocations: 182.4 kB / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.2953, allocations: 23.66 kB / 0.7963 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.296, allocations: 300.6 kB / 0.7966 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.296, allocations: 7.984 kB / 0.7966 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.296, allocations: 4 kB / 0.7966 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2961, allocations: 4 kB / 0.7966 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2972, allocations: 0.7597 MB / 0.7973 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2973, allocations: 0 / 0.7973 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.2974, allocations: 35.92 kB / 0.7974 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2974, allocations: 0 / 0.7974 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.2974, allocations: 11.98 kB / 0.7974 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2975, allocations: 3.953 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2975, allocations: 3.938 kB / 0.7974 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.298, allocations: 379.1 kB / 0.7977 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.2981, allocations: 100.8 kB / 0.7978 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.2982, allocations: 8 kB / 0.7978 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2984, allocations: 35.97 kB / 0.7979 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.2985, allocations: 51.81 kB / 0.7979 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.2985, allocations: 12 kB / 0.7979 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001048/0.2987, allocations: 135.7 kB / 0.7981 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2987, allocations: 0 / 0.7981 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003535/0.299, allocations: 67.83 kB / 0.7981 GB, free: 440 kB / 0.6075 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.0002108/0.2992, allocations: 125.5 kB / 0.7982 GB, free: 304 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006463/0.2999, allocations: 336.4 kB / 0.7986 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2999, allocations: 4.062 kB / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.3002, allocations: 143.8 kB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3005, allocations: 36.05 kB / 0.7987 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.3015, allocations: 0.5155 MB / 0.7992 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.302, allocations: 0.7642 MB / 0.8 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000123/0.3021, allocations: 30.28 kB / 0.8 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.3022, allocations: 23.44 kB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3022, allocations: 3.938 kB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.006202/0.3084, allocations: 2.719 MB / 0.8027 GB, free: 11.68 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) Environment - environmentSimulation: