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.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001343/0.001343, allocations: 185.8 kB / 371.8 MB, free: 10.28 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.07/2.07, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001335/0.001335, allocations: 99.78 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005024, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9333/1.238, allocations: 141.5 MB / 1.118 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.238, allocations: 97.86 kB / 1.118 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01258/1.251, allocations: 4.716 MB / 1.122 GB, free: 31.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.487e-06/1.251, allocations: 0 / 1.122 GB, free: 31.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.251, allocations: 3.844 kB / 1.122 GB, free: 31.86 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008507/1.252, allocations: 0.5599 MB / 1.123 GB, free: 31.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.252, allocations: 7.844 kB / 1.123 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.705e-05/1.252, allocations: 72.98 kB / 1.123 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/1.252, allocations: 35.11 kB / 1.123 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/1.252, allocations: 260.3 kB / 1.123 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.252, allocations: 35.86 kB / 1.123 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/1.252, allocations: 28.41 kB / 1.123 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/1.253, allocations: 333.2 kB / 1.124 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.253, allocations: 4 kB / 1.124 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/1.253, allocations: 12.81 kB / 1.124 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.253, allocations: 11.8 kB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/1.254, allocations: 257.8 kB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/1.255, allocations: 0.9533 MB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/1.256, allocations: 282.4 kB / 1.125 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/1.256, allocations: 7.844 kB / 1.125 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/1.256, allocations: 176.1 kB / 1.125 GB, free: 30.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.285e-06/1.256, allocations: 0 / 1.125 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0008006/1.257, allocations: 370.7 kB / 1.126 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/1.257, allocations: 65.77 kB / 1.126 GB, free: 30.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.257, allocations: 185.3 kB / 1.126 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/1.257, allocations: 42.27 kB / 1.126 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/1.257, allocations: 156.5 kB / 1.126 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/1.257, allocations: 82.22 kB / 1.126 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/1.257, allocations: 7.75 kB / 1.126 GB, free: 30.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.257, allocations: 335.9 kB / 1.126 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.258, allocations: 110.6 kB / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/1.258, allocations: 167.4 kB / 1.127 GB, free: 29.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/1.258, allocations: 140.6 kB / 1.127 GB, free: 29.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.258, allocations: 3.938 kB / 1.127 GB, free: 29.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006058/1.259, allocations: 374 kB / 1.127 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/1.259, allocations: 37.67 kB / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.259, allocations: 0 / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.259, allocations: 5.969 kB / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/1.259, allocations: 45.59 kB / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.259, allocations: 3.969 kB / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.259, allocations: 59.66 kB / 1.127 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/1.259, allocations: 11.31 kB / 1.127 GB, free: 29.57 MB / 0.698 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.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,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.0001775/1.26, allocations: 170.2 kB / 1.128 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/1.26, allocations: 25.81 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/1.26, allocations: 306.8 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.26, allocations: 3.844 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.26, allocations: 0 / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.26, allocations: 2.719 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.261, allocations: 0.758 MB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.261, allocations: 0 / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/1.262, allocations: 35.97 kB / 1.129 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.262, allocations: 4 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/1.262, allocations: 17.78 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.262, allocations: 0 / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.262, allocations: 0 / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/1.262, allocations: 376.6 kB / 1.129 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/1.262, allocations: 103.1 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/1.262, allocations: 14.81 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/1.262, allocations: 35.34 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.263, allocations: 41.94 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.263, allocations: 13.64 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001015/1.263, allocations: 125.5 kB / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.263, allocations: 0 / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003285/1.263, allocations: 64.22 kB / 1.129 GB, free: 28.7 MB / 0.698 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.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,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.0009083/1.264, allocations: 0.9418 MB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006126/1.265, allocations: 346.2 kB / 1.131 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.265, allocations: 0 / 1.131 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/1.265, allocations: 139 kB / 1.131 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.265, allocations: 36.61 kB / 1.131 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/1.268, allocations: 2.177 MB / 1.133 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.268, allocations: 0.7696 MB / 1.134 GB, free: 25.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001201/1.268, allocations: 27.64 kB / 1.134 GB, free: 25.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/1.268, allocations: 89.47 kB / 1.134 GB, free: 25.84 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.268, allocations: 0 / 1.134 GB, free: 25.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/1.285, allocations: 5.016 MB / 1.139 GB, free: 23.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.285, allocations: 233.9 kB / 1.139 GB, free: 23.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.184, allocations: 0 / 1.139 GB, free: 23.46 MB / 0.698 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)