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.001294/0.001294, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001392/0.001392, allocations: 222.1 kB / 23.03 MB, free: 4.945 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.304/3.304, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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.002047/0.002047, allocations: 66.25 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4029, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003612/0.4065, allocations: 1.981 MB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4078, allocations: 0.69 MB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.408, allocations: 7.938 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.4081, allocations: 35.61 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.4082, allocations: 43.53 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.4087, allocations: 167.8 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.4092, allocations: 411.2 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.4096, allocations: 212.5 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.4098, allocations: 139.6 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.41, allocations: 147.4 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.41, allocations: 40 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4102, allocations: 51.94 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.4102, allocations: 83.81 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.4104, allocations: 119.4 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.4109, allocations: 442.3 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4109, allocations: 0 / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4109, allocations: 0 / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4109, allocations: 0 / 1.35 GB, free: 11.38 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.001004/0.4119, allocations: 0.539 MB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.412, allocations: 8.031 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.568e-05/0.412, allocations: 8.844 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.4121, allocations: 66.72 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.4124, allocations: 48.72 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.4127, allocations: 215.6 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.4128, allocations: 25.03 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4128, allocations: 32.38 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.4136, allocations: 341 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4136, allocations: 0 / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.4136, allocations: 8 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4136, allocations: 8 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.4142, allocations: 254.4 kB / 1.351 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.4157, allocations: 0.8235 MB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.4163, allocations: 243 kB / 1.352 GB, free: 8.648 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.4166, allocations: 116.7 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.4166, allocations: 4 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/0.417, allocations: 167.3 kB / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 5.42e-06/0.417, allocations: 3.984 kB / 1.353 GB, free: 8.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.0008762/0.4179, allocations: 349.9 kB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.418, allocations: 59.41 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4182, allocations: 207.4 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.4182, allocations: 49.69 kB / 1.353 GB, free: 7.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4184, allocations: 160.7 kB / 1.353 GB, free: 7.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.4184, allocations: 75.39 kB / 1.353 GB, free: 7.422 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4186, allocations: 90.11 kB / 1.353 GB, free: 7.328 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4187, allocations: 334.8 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.419, allocations: 138.5 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.4194, allocations: 195.2 kB / 1.354 GB, free: 6.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.4199, allocations: 259.4 kB / 1.354 GB, free: 6.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4199, allocations: 0 / 1.354 GB, free: 6.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007414/0.4206, allocations: 396.6 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.4207, allocations: 37.86 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4207, allocations: 0 / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4207, allocations: 4 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.4209, allocations: 51.78 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4209, allocations: 4 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4212, allocations: 51.73 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.4212, allocations: 23.98 kB / 1.355 GB, free: 5.773 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.0002065/0.4214, allocations: 174.8 kB / 1.355 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.4215, allocations: 23.86 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.4216, allocations: 30.64 kB / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4216, allocations: 4 kB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4216, allocations: 0 / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4216, allocations: 0 / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4228, allocations: 0.67 MB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4228, allocations: 0 / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.4229, allocations: 31.91 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4229, allocations: 0 / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.423, allocations: 11.94 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.423, allocations: 0 / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.423, allocations: 0 / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.4236, allocations: 368.2 kB / 1.356 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.4236, allocations: 27.83 kB / 1.356 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4237, allocations: 11.94 kB / 1.356 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.4239, allocations: 35.95 kB / 1.356 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.424, allocations: 39.94 kB / 1.356 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4241, allocations: 11.98 kB / 1.356 GB, free: 4.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001204/0.4242, allocations: 128.1 kB / 1.356 GB, free: 4.145 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 1.356 GB, free: 4.145 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003424/0.4245, allocations: 75.84 kB / 1.356 GB, free: 4.07 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.001/0.4255, allocations: 0.9177 MB / 1.357 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007076/0.4262, allocations: 341.1 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4262, allocations: 4.062 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.4265, allocations: 119.8 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4269, allocations: 36.23 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.4308, allocations: 2.736 MB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.4309, allocations: 150.8 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.4311, allocations: 30.22 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.4312, allocations: 79.41 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of SimCode: time 7.92e-07/0.4312, allocations: 4 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.4598, allocations: 5.808 MB / 1.366 GB, free: 9.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.53, allocations: 5.859 kB / 1.366 GB, free: 9.836 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.353423931985162] Failed to read output from testmodel.py, exit status != 0: 12.687940324074589 12.709120745 12.294049109 Calling exit ...