Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001991/0.001991, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00245/0.00245, allocations: 215 kB / 20.13 MB, free: 2.949 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_12_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.002101/0.002101, allocations: 67.89 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003394/1.057, allocations: 2.037 MB / 1.323 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001424/1.059, allocations: 0.7364 MB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/1.059, allocations: 2.844 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/1.059, allocations: 35.86 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/1.059, allocations: 41.77 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/1.06, allocations: 158.3 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004726/1.06, allocations: 410.1 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/1.06, allocations: 208 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/1.061, allocations: 141 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/1.061, allocations: 147.2 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/1.061, allocations: 39.78 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/1.061, allocations: 48.41 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.197e-05/1.061, allocations: 80.27 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/1.061, allocations: 155 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/1.062, allocations: 437.8 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.062, allocations: 0 / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.062, allocations: 2.594 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.062, allocations: 0 / 1.326 GB, free: 21.87 MB / 1.061 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.001016/1.063, allocations: 0.6168 MB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.063, allocations: 12.27 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.482e-05/1.063, allocations: 13.22 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.796e-05/1.063, allocations: 64.31 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/1.063, allocations: 45.36 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/1.063, allocations: 267.1 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/1.063, allocations: 33.38 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/1.063, allocations: 29.97 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/1.064, allocations: 336.4 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.064, allocations: 0 / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/1.064, allocations: 15.47 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/1.064, allocations: 6.719 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/1.065, allocations: 250.3 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/1.067, allocations: 0.9417 MB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/1.068, allocations: 245.2 kB / 1.329 GB, free: 19.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/1.068, allocations: 115.1 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/1.068, allocations: 3.75 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/1.068, allocations: 180.2 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/1.068, allocations: 1.062 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=32): time 0.001055/1.069, allocations: 349 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/1.07, allocations: 61.98 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/1.07, allocations: 201.7 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/1.07, allocations: 44.31 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.07, allocations: 158.3 kB / 1.33 GB, free: 19.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/1.07, allocations: 86.09 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/1.07, allocations: 86.47 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/1.07, allocations: 344.1 kB / 1.33 GB, free: 18.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.071, allocations: 103.8 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/1.071, allocations: 164.9 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/1.071, allocations: 262.3 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.071, allocations: 1.312 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007989/1.072, allocations: 375.2 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/1.072, allocations: 33.5 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.072, allocations: 2.219 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.072, allocations: 2.906 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/1.072, allocations: 43.94 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.072, allocations: 2.922 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/1.073, allocations: 55.7 kB / 1.331 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.073, allocations: 14.22 kB / 1.331 GB, free: 18.33 MB / 1.061 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.0002048/1.073, allocations: 181.5 kB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/1.073, allocations: 20.95 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/1.073, allocations: 28.77 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.073, allocations: 4.656 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.073, allocations: 7.984 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.073, allocations: 1.406 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/1.074, allocations: 0.7355 MB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.074, allocations: 1.188 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/1.075, allocations: 25.25 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.075, allocations: 1.125 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.075, allocations: 11.59 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.075, allocations: 5.844 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.075, allocations: 3.938 kB / 1.332 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/1.075, allocations: 353.6 kB / 1.333 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/1.075, allocations: 103.5 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/1.075, allocations: 11.3 kB / 1.333 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/1.076, allocations: 35.42 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.076, allocations: 36.03 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/1.076, allocations: 12.05 kB / 1.333 GB, free: 17.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001154/1.076, allocations: 134.6 kB / 1.333 GB, free: 17.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.076, allocations: 0 / 1.333 GB, free: 17.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004125/1.076, allocations: 72.28 kB / 1.333 GB, free: 17.18 MB / 1.061 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.0009101/1.077, allocations: 0.9193 MB / 1.334 GB, free: 16.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007756/1.078, allocations: 313.2 kB / 1.334 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.078, allocations: 0.5938 kB / 1.334 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/1.078, allocations: 127.1 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/1.079, allocations: 31 kB / 1.334 GB, free: 16.22 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/1.083, allocations: 2.619 MB / 1.337 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.083, allocations: 0.7611 MB / 1.338 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001586/1.084, allocations: 25.03 kB / 1.338 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/1.084, allocations: 82.77 kB / 1.338 GB, free: 13.62 MB / 1.061 GB Notification: Performance of SimCode: time 1.493e-06/1.084, allocations: 4 kB / 1.338 GB, free: 13.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/1.113, allocations: 5.469 MB / 1.343 GB, free: 12.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.801/9.914, allocations: 11.72 kB / 1.343 GB, free: 12.93 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.5420311660273] Failed to read output from testmodel.py, exit status != 0: 10.042235226021148 10.063088255 8.997294573 Calling exit ...