Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001358/0.001358, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001456/0.001456, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7678 GB, free: 9.477 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 65.78 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9028, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004201/0.907, allocations: 2.036 MB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.9089, allocations: 0.7408 MB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.909, allocations: 4.25 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.9092, allocations: 31.66 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.9093, allocations: 40.58 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.9099, allocations: 161.8 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.9107, allocations: 399.1 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.9111, allocations: 223 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.9113, allocations: 137 kB / 1.283 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.9115, allocations: 145.6 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.9116, allocations: 39.97 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.9117, allocations: 50.84 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.9118, allocations: 86.06 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.9119, allocations: 149.1 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.9126, allocations: 443.7 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9126, allocations: 0 / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9126, allocations: 0 / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.9126, allocations: 0 / 1.283 GB, free: 8.809 MB / 0.9981 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.001185/0.9138, allocations: 0.6042 MB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9139, allocations: 14.78 kB / 1.284 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.9139, allocations: 7.656 kB / 1.284 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.914, allocations: 67.92 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.9143, allocations: 44.02 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.9148, allocations: 275 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.9148, allocations: 28.53 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.9149, allocations: 30.61 kB / 1.285 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.9156, allocations: 335.6 kB / 1.285 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9157, allocations: 0 / 1.285 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.9157, allocations: 19.19 kB / 1.285 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.9157, allocations: 11.98 kB / 1.285 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.9164, allocations: 245.7 kB / 1.285 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.9182, allocations: 0.9395 MB / 1.286 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.9189, allocations: 251.5 kB / 1.286 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.9192, allocations: 109.6 kB / 1.286 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.9192, allocations: 2.844 kB / 1.286 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.9198, allocations: 177.9 kB / 1.287 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/0.9198, allocations: 5.156 kB / 1.287 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32): time 0.001025/0.9208, allocations: 348 kB / 1.287 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.9209, allocations: 66.44 kB / 1.287 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.9212, allocations: 206.4 kB / 1.287 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.9212, allocations: 42.3 kB / 1.287 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.9214, allocations: 152.5 kB / 1.287 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.9215, allocations: 92.67 kB / 1.287 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.9217, allocations: 84.75 kB / 1.287 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.9219, allocations: 340.9 kB / 1.288 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.9222, allocations: 100.7 kB / 1.288 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.9225, allocations: 166 kB / 1.288 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.923, allocations: 266.4 kB / 1.288 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.923, allocations: 3.938 kB / 1.288 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007985/0.9238, allocations: 372.7 kB / 1.289 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.9239, allocations: 33.75 kB / 1.289 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.9239, allocations: 1.188 kB / 1.289 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.9239, allocations: 3.562 kB / 1.289 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.9241, allocations: 44.06 kB / 1.289 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.9242, allocations: 2.781 kB / 1.289 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.9245, allocations: 59.66 kB / 1.289 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.9245, allocations: 14.23 kB / 1.289 GB, free: 5.273 MB / 0.9981 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.0002445/0.9247, allocations: 182.6 kB / 1.289 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.9248, allocations: 26.77 kB / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.9249, allocations: 28 kB / 1.289 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.9249, allocations: 3.125 kB / 1.289 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.9249, allocations: 1.125 kB / 1.289 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.9249, allocations: 2.281 kB / 1.289 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.9263, allocations: 0.7278 MB / 1.29 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9264, allocations: 0 / 1.29 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.9265, allocations: 29.52 kB / 1.29 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9265, allocations: 2.188 kB / 1.29 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.9265, allocations: 11.8 kB / 1.29 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9265, allocations: 0.9688 kB / 1.29 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9265, allocations: 3.938 kB / 1.29 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.9273, allocations: 360.5 kB / 1.29 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.9274, allocations: 112.9 kB / 1.29 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.9274, allocations: 11.56 kB / 1.29 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.9277, allocations: 30.83 kB / 1.29 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.9278, allocations: 35.97 kB / 1.29 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.9278, allocations: 10.33 kB / 1.29 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001542/0.928, allocations: 132.8 kB / 1.29 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.928, allocations: 4 kB / 1.29 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000375/0.9284, allocations: 67.52 kB / 1.291 GB, free: 4.113 MB / 0.9981 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.001165/0.9295, allocations: 0.9124 MB / 1.291 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008017/0.9303, allocations: 317 kB / 1.292 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9303, allocations: 0 / 1.292 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.9306, allocations: 119.3 kB / 1.292 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.931, allocations: 47.09 kB / 1.292 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.9352, allocations: 2.622 MB / 1.294 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.9357, allocations: 0.7562 MB / 1.295 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.9358, allocations: 28.28 kB / 1.295 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.936, allocations: 83.72 kB / 1.295 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.936, allocations: 0 / 1.295 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.9627, allocations: 5.471 MB / 1.301 GB, free: 15.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.992/9.954, allocations: 8.781 kB / 1.301 GB, free: 15.86 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.380105295043904] Failed to read output from testmodel.py, exit status != 0: 10.087227846030146 10.113133061 9.19580695 Calling exit ...