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.001515/0.001515, allocations: 97.88 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.002112/0.002112, allocations: 218.7 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.255/3.255, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002073/0.002073, allocations: 67.41 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00451/0.3785, allocations: 1.976 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3802, allocations: 0.7056 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.3804, allocations: 7.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.3806, allocations: 31.61 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3808, allocations: 39.59 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.3814, allocations: 171.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.382, allocations: 407.3 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.3825, allocations: 212.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.3828, allocations: 135.6 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.3831, allocations: 151.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3832, allocations: 40 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3833, allocations: 44 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3835, allocations: 83.75 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.3837, allocations: 119.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.3843, allocations: 442.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3843, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3843, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.3843, allocations: 3.984 kB / 1.331 GB, free: 12.98 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.001251/0.3856, allocations: 0.539 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3856, allocations: 8.031 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.735e-05/0.3857, allocations: 8.844 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/0.3857, allocations: 66.72 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.3861, allocations: 48.69 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.3865, allocations: 215.9 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.3866, allocations: 29.03 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.3866, allocations: 28.38 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.3874, allocations: 341 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3874, allocations: 3.938 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.3874, allocations: 12 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3875, allocations: 7.984 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.3881, allocations: 254.4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3898, allocations: 0.8198 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.3906, allocations: 247.8 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3908, allocations: 112.7 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3908, allocations: 4 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.3913, allocations: 183.2 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/0.3913, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.0009323/0.3922, allocations: 353.4 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3923, allocations: 59.41 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3925, allocations: 203.4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.3926, allocations: 45.7 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3927, allocations: 152.8 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.3928, allocations: 87.33 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.393, allocations: 86.11 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3932, allocations: 338.8 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3935, allocations: 134.5 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3939, allocations: 199.1 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.3944, allocations: 255.4 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3945, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008574/0.3953, allocations: 404.1 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.3954, allocations: 39.41 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3954, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3954, allocations: 4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.3956, allocations: 43.91 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3957, allocations: 4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.396, allocations: 59.91 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.396, allocations: 12 kB / 1.336 GB, free: 7.375 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.0002903/0.3963, allocations: 173.7 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.3963, allocations: 23.86 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.3964, allocations: 38.64 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3964, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3964, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3964, allocations: 0 / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.3979, allocations: 0.671 MB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3979, allocations: 0 / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.398, allocations: 27.92 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.398, allocations: 0 / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.398, allocations: 15.92 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.398, allocations: 8 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.398, allocations: 3.938 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.3987, allocations: 364.3 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3988, allocations: 23.73 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.3988, allocations: 15.92 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3991, allocations: 35.97 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3992, allocations: 39.94 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.3993, allocations: 8 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001421/0.3994, allocations: 132.1 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3994, allocations: 0 / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000395/0.3998, allocations: 67.84 kB / 1.338 GB, free: 5.668 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.001124/0.4009, allocations: 0.9178 MB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007797/0.4017, allocations: 340.8 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4017, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.402, allocations: 127.8 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.4024, allocations: 32.28 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.4068, allocations: 2.732 MB / 1.342 GB, free: 1.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.407, allocations: 154.7 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.4071, allocations: 34.27 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.4073, allocations: 79.41 kB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of SimCode: time 1.724e-06/0.4073, allocations: 0 / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.4369, allocations: 5.807 MB / 1.348 GB, free: 11.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.18, allocations: 13.3 kB / 1.348 GB, free: 11.44 MB / 1.045 GB " [Timeout remaining time 288] (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.026245611952618] Failed to read output from testmodel.py, exit status != 0: 12.340824714978226 12.365264711 11.976389887 Calling exit ...