Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 64.84 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3781, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00383/0.3819, allocations: 2.055 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3834, allocations: 0.7406 MB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3835, allocations: 7.938 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3837, allocations: 31.61 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3838, allocations: 39.59 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.3843, allocations: 163.8 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.3848, allocations: 411.2 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.3852, allocations: 212.6 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.3854, allocations: 135.6 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3856, allocations: 151.4 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.3857, allocations: 40 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.3858, allocations: 48 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.934e-05/0.3859, allocations: 91.67 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3861, allocations: 155.3 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.3866, allocations: 434.4 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3866, allocations: 0 / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3866, allocations: 0 / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3866, allocations: 0 / 1.35 GB, free: 11.76 MB / 1.045 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.001022/0.3876, allocations: 0.539 MB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3877, allocations: 8.031 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.278e-05/0.3877, allocations: 12.84 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.768e-05/0.3878, allocations: 70.72 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.3881, allocations: 40.73 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3885, allocations: 217 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.3885, allocations: 33.02 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.3886, allocations: 32.36 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.3894, allocations: 336.9 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3894, allocations: 8 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.3894, allocations: 8 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3894, allocations: 8 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.39, allocations: 246.5 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.3916, allocations: 0.9053 MB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.3922, allocations: 242.9 kB / 1.353 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.3925, allocations: 108.8 kB / 1.353 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3925, allocations: 4 kB / 1.353 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.393, allocations: 187.2 kB / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/0.393, allocations: 0 / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.0009238/0.3939, allocations: 337.9 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.394, allocations: 71.36 kB / 1.353 GB, free: 8.219 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3942, allocations: 203.5 kB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.3943, allocations: 41.7 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3944, allocations: 160.8 kB / 1.354 GB, free: 7.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.3945, allocations: 83.36 kB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3946, allocations: 86.12 kB / 1.354 GB, free: 7.625 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3948, allocations: 334.8 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.3951, allocations: 112.8 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.3954, allocations: 173.4 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.3959, allocations: 259.4 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3959, allocations: 0 / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007753/0.3967, allocations: 366.9 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.3967, allocations: 29.7 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3967, allocations: 4 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3968, allocations: 0 / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.397, allocations: 44.06 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.397, allocations: 11.94 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.3972, allocations: 51.75 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3973, allocations: 12 kB / 1.355 GB, free: 6.184 MB / 1.045 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,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.3975, allocations: 187.6 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3975, allocations: 19.86 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.3976, allocations: 30.64 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3976, allocations: 4 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3976, allocations: 4 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3976, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3989, allocations: 0.7011 MB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3989, allocations: 4 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.399, allocations: 35.86 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.399, allocations: 3.984 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.3991, allocations: 7.938 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3991, allocations: 4 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3991, allocations: 0 / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.3997, allocations: 356.3 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3997, allocations: 27.83 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.3998, allocations: 11.94 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.4, allocations: 31.97 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4001, allocations: 35.94 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.4002, allocations: 15.98 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001152/0.4003, allocations: 128.1 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4003, allocations: 3.938 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003509/0.4006, allocations: 71.84 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.4017, allocations: 0.9216 MB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007842/0.4025, allocations: 307.1 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4025, allocations: 3.938 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.4028, allocations: 123.9 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.4032, allocations: 40.03 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.4072, allocations: 2.623 MB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.4077, allocations: 0.7563 MB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.4078, allocations: 26.3 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.408, allocations: 87.39 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.408, allocations: 0 / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4361, allocations: 5.733 MB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.14, allocations: 14.42 kB / 1.367 GB, free: 9.797 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.74011348595377] Failed to read output from testmodel.py, exit status != 0: 12.296460059995297 12.312191648 11.922469153 Calling exit ...