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.00169/0.00169, allocations: 101.5 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.0015/0.0015, allocations: 214.4 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.938/2.938, allocations: 476.7 MB / 0.7715 GB, free: 4.34 MB / 0.6231 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.001999/0.001999, allocations: 62.58 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3343, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003946/0.3383, allocations: 2.06 MB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3398, allocations: 0.7324 MB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.34, allocations: 4 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.3402, allocations: 35.61 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.3403, allocations: 43.59 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.3408, allocations: 167.7 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.3414, allocations: 419.1 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.3418, allocations: 200.2 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.342, allocations: 139.6 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.3423, allocations: 151.3 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.3424, allocations: 40 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.3425, allocations: 48 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.3426, allocations: 87.73 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3428, allocations: 155.2 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.3434, allocations: 434.3 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3434, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3434, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3434, allocations: 0 / 1.289 GB, free: 6.918 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.001218/0.3446, allocations: 0.5429 MB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3446, allocations: 12.03 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.269e-05/0.3447, allocations: 4.844 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.3447, allocations: 66.72 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.345, allocations: 44.69 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.3454, allocations: 210.1 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.3455, allocations: 29.03 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.3455, allocations: 32.38 kB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.3462, allocations: 337 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3462, allocations: 0 / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.3463, allocations: 12 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3463, allocations: 4 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.3469, allocations: 254.4 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.3485, allocations: 0.9172 MB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.3492, allocations: 252.6 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3494, allocations: 101.3 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3495, allocations: 4 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.3499, allocations: 183.8 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.3499, allocations: 0 / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0008573/0.3508, allocations: 353.4 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3508, allocations: 55.41 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.351, allocations: 207.5 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.3511, allocations: 45.64 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3512, allocations: 148.8 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.3513, allocations: 91.31 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3514, allocations: 82.12 kB / 1.293 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3516, allocations: 338.8 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.3519, allocations: 108.8 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.3522, allocations: 165.5 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.3527, allocations: 262.6 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3527, allocations: 0 / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008071/0.3535, allocations: 370.7 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.3536, allocations: 33.7 kB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3536, allocations: 0 / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3536, allocations: 8.156 kB / 1.294 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3538, allocations: 43.91 kB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3538, allocations: 4 kB / 1.294 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.3541, allocations: 51.75 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.3541, allocations: 15.98 kB / 1.294 GB, free: 1.34 MB / 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.0002113/0.3543, allocations: 177.7 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.3544, allocations: 23.8 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3544, allocations: 34.64 kB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.3544, allocations: 4 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3544, allocations: 0 / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3544, allocations: 0 / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3557, allocations: 0.7022 MB / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3557, allocations: 0 / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.3558, allocations: 27.97 kB / 1.295 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3558, allocations: 0 / 1.295 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3558, allocations: 11.94 kB / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3558, allocations: 0 / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3558, allocations: 0 / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.3565, allocations: 372.5 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.3565, allocations: 23.78 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.3566, allocations: 15.94 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3568, allocations: 35.89 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3569, allocations: 35.95 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.357, allocations: 15.98 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001404/0.3571, allocations: 133.7 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 0 / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003388/0.3574, allocations: 67.84 kB / 1.296 GB, free: 15.6 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.001027/0.3585, allocations: 0.9055 MB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006887/0.3592, allocations: 315.7 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3592, allocations: 0 / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.3594, allocations: 124.1 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3598, allocations: 43.91 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.3639, allocations: 2.616 MB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.3643, allocations: 0.7642 MB / 1.3 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.3644, allocations: 30.28 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3646, allocations: 75.41 kB / 1.3 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3646, allocations: 4 kB / 1.3 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3946, allocations: 5.746 MB / 1.306 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.15, allocations: 8.547 kB / 1.306 GB, free: 4.961 MB / 0.9981 GB " [Timeout remaining time 287] (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.941948117048014] Failed to read output from testmodel.py, exit status != 0: 12.83693598798709 12.342796683 11.995765216 Calling exit ...