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.001361/0.001361, 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.00168/0.00168, allocations: 217.5 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 33.51 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.002052/0.002052, allocations: 66.36 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3744, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003903/0.3783, allocations: 2.059 MB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.38, allocations: 0.7367 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.3802, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.3804, allocations: 43.53 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3805, allocations: 35.66 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.381, allocations: 163.8 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.3816, allocations: 415.2 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.382, allocations: 209.5 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3822, allocations: 139.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.3824, allocations: 147.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.3825, allocations: 40 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3826, allocations: 47.98 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3827, allocations: 87.75 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3829, allocations: 155.2 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.3835, allocations: 434.4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3835, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3835, allocations: 4 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3835, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 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.001081/0.3846, allocations: 0.5351 MB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3846, allocations: 12.03 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.529e-05/0.3846, allocations: 8.844 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.3847, allocations: 62.72 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.385, allocations: 52.67 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.3855, allocations: 214.9 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.3856, allocations: 25.03 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.3856, allocations: 36.38 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.3863, allocations: 336.9 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3863, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3864, allocations: 12 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3864, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.387, allocations: 254.5 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3885, allocations: 0.8977 MB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.3892, allocations: 250.6 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.3894, allocations: 108.8 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.3895, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.3899, allocations: 175.2 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.3899, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.0008808/0.3908, allocations: 353.4 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.3908, allocations: 59.39 kB / 1.335 GB, free: 9.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3911, allocations: 207.4 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.3911, allocations: 45.69 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3912, allocations: 152.8 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.3913, allocations: 83.34 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3915, allocations: 90.05 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3916, allocations: 342.8 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.3919, allocations: 108.8 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.3922, allocations: 165.4 kB / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.3927, allocations: 259.4 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3927, allocations: 3.938 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007831/0.3935, allocations: 374.5 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.3935, allocations: 33.7 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3936, allocations: 3.984 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3936, allocations: 4 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.3938, allocations: 39.92 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3938, allocations: 7.984 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.3941, allocations: 55.91 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.3941, allocations: 16 kB / 1.336 GB, free: 7.664 MB / 1.029 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.0002187/0.3943, allocations: 177.6 kB / 1.337 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3944, allocations: 23.86 kB / 1.337 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/0.3944, allocations: 34.66 kB / 1.337 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3944, allocations: 7.984 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3944, allocations: 0 / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3945, allocations: 0 / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3957, allocations: 0.7022 MB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3957, allocations: 0 / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3958, allocations: 31.92 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3958, allocations: 4 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3958, allocations: 7.938 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3958, allocations: 3.984 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3959, allocations: 0 / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.3965, allocations: 356.3 kB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.3965, allocations: 19.8 kB / 1.338 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.3965, allocations: 11.94 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.3968, allocations: 39.95 kB / 1.338 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3969, allocations: 43.94 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3969, allocations: 4 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3971, allocations: 132.1 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3971, allocations: 0 / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003516/0.3974, allocations: 67.84 kB / 1.338 GB, free: 5.941 MB / 1.029 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.00102/0.3984, allocations: 0.9332 MB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.3992, allocations: 315.1 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3992, allocations: 0 / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.3995, allocations: 115.9 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3998, allocations: 37.3 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.4038, allocations: 2.625 MB / 1.342 GB, free: 1.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.4042, allocations: 0.764 MB / 1.343 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.4044, allocations: 26.28 kB / 1.343 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.4045, allocations: 79.41 kB / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/0.4045, allocations: 4 kB / 1.343 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.4338, allocations: 5.724 MB / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.35, allocations: 6.125 kB / 1.348 GB, free: 11.3 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.087817422987428] Failed to read output from testmodel.py, exit status != 0: 12.503224785032216 12.518530460000001 12.131985485 Calling exit ...