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.001363/0.001363, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001671/0.001671, allocations: 219 kB / 23.03 MB, free: 4.922 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.825/2.825, allocations: 476.8 MB / 0.7715 GB, free: 3.828 MB / 0.6231 GB " [Timeout remaining time 177] 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: 61.05 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003633/0.3362, allocations: 1.983 MB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3376, allocations: 0.6897 MB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3377, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3379, allocations: 39.55 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.338, allocations: 39.66 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.3384, allocations: 171.7 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.3389, allocations: 415.1 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.3392, allocations: 208.2 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.3394, allocations: 139.5 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3396, allocations: 151.4 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.3397, allocations: 40 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.3398, allocations: 44 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.507e-05/0.3399, allocations: 83.8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.34, allocations: 119.5 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3405, allocations: 446.2 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3405, allocations: 0 / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3405, allocations: 3.938 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3405, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 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.001007/0.3415, allocations: 0.5313 MB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3416, allocations: 8.031 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.015e-05/0.3416, allocations: 8.844 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.3417, allocations: 70.72 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.3419, allocations: 48.72 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.3423, allocations: 214 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.3423, allocations: 29.03 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.3424, allocations: 36.36 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.3431, allocations: 340.9 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3431, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.3431, allocations: 12 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3431, allocations: 7.938 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.3437, allocations: 246.5 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3452, allocations: 0.8237 MB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.3458, allocations: 245.2 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.3461, allocations: 105.5 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3461, allocations: 8 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.3465, allocations: 183.8 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.3465, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0008316/0.3474, allocations: 349.3 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3474, allocations: 59.39 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.3476, allocations: 207.5 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.3477, allocations: 41.7 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3478, allocations: 152.8 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.3479, allocations: 87.33 kB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.348, allocations: 90.11 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3481, allocations: 334.8 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.3484, allocations: 134.5 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.3488, allocations: 195.2 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.3492, allocations: 262.6 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3492, allocations: 0 / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007098/0.35, allocations: 392.5 kB / 1.294 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.35, allocations: 39.89 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.35, allocations: 4.156 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.35, allocations: 4 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.3502, allocations: 39.91 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3502, allocations: 4 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.3505, allocations: 59.69 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3505, allocations: 16 kB / 1.294 GB, free: 496 kB / 0.9825 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.0001855/0.3507, allocations: 181.6 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.3508, allocations: 35.72 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.3508, allocations: 26.66 kB / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3508, allocations: 4 kB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3508, allocations: 0 / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3508, allocations: 3.984 kB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.352, allocations: 0.6633 MB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.352, allocations: 4 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.3521, allocations: 27.97 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3521, allocations: 0 / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3521, allocations: 11.94 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3521, allocations: 0 / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3521, allocations: 3.938 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.3527, allocations: 372.5 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.3528, allocations: 27.8 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.3528, allocations: 11.94 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.353, allocations: 31.95 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3531, allocations: 35.95 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.3532, allocations: 11.98 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001109/0.3533, allocations: 129.8 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3533, allocations: 0 / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003182/0.3536, allocations: 63.89 kB / 1.295 GB, free: 14.78 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.0009272/0.3545, allocations: 0.925 MB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006565/0.3552, allocations: 341.4 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3552, allocations: 320 / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.3554, allocations: 127.8 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3558, allocations: 35.17 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3595, allocations: 2.732 MB / 1.299 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3596, allocations: 150.8 kB / 1.299 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3597, allocations: 26.28 kB / 1.3 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3599, allocations: 83.34 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3599, allocations: 0 / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.387, allocations: 5.816 MB / 1.305 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.31, allocations: 15.94 kB / 1.305 GB, free: 4.527 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.999355435953476] Failed to read output from testmodel.py, exit status != 0: 13.020088089047931 12.496342767 12.150438515 Calling exit ...