Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.000816/0.000816, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008551/0.0008551, allocations: 218.2 kB / 22.25 MB, free: 3.582 MB / 13.93 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 0.9245/0.9245, allocations: 230.6 MB / 256 MB, free: 9.652 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.322/2.322, allocations: 0.5556 GB / 0.8607 GB, free: 30.8 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009/0.0009, allocations: 71.78 kB / 1.253 GB, free: 22.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3289, allocations: 193.3 MB / 1.442 GB, free: 10.85 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002403/0.3313, allocations: 1.986 MB / 1.444 GB, free: 8.852 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.3321, allocations: 0.7052 MB / 1.444 GB, free: 8.141 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3322, allocations: 4 kB / 1.444 GB, free: 8.137 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.3324, allocations: 39.55 kB / 1.444 GB, free: 8.098 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.3324, allocations: 43.58 kB / 1.444 GB, free: 8.055 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.3328, allocations: 159.8 kB / 1.445 GB, free: 7.898 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.3331, allocations: 411.2 kB / 1.445 GB, free: 7.496 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.3334, allocations: 212.9 kB / 1.445 GB, free: 7.289 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3335, allocations: 139.5 kB / 1.445 GB, free: 7.152 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3336, allocations: 131.4 kB / 1.445 GB, free: 7.023 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.3337, allocations: 40 kB / 1.445 GB, free: 6.984 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.3337, allocations: 40 kB / 1.446 GB, free: 6.945 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.3338, allocations: 79.81 kB / 1.446 GB, free: 6.867 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.3339, allocations: 131.4 kB / 1.446 GB, free: 6.738 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.3342, allocations: 446.3 kB / 1.446 GB, free: 6.301 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3342, allocations: 4 kB / 1.446 GB, free: 6.297 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3342, allocations: 0 / 1.446 GB, free: 6.297 MB / 1.12 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3342, allocations: 0 / 1.446 GB, free: 6.297 MB / 1.12 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.0006563/0.3349, allocations: 0.539 MB / 1.447 GB, free: 5.719 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3349, allocations: 12.03 kB / 1.447 GB, free: 5.707 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.3349, allocations: 62.72 kB / 1.447 GB, free: 5.637 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3351, allocations: 40.73 kB / 1.447 GB, free: 5.598 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3354, allocations: 218 kB / 1.447 GB, free: 5.359 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3354, allocations: 29.03 kB / 1.447 GB, free: 5.332 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3354, allocations: 40.36 kB / 1.447 GB, free: 5.293 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.3359, allocations: 329.2 kB / 1.447 GB, free: 4.965 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3359, allocations: 3.938 kB / 1.447 GB, free: 4.961 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.3359, allocations: 12 kB / 1.447 GB, free: 4.949 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3359, allocations: 8 kB / 1.447 GB, free: 4.941 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.3362, allocations: 242.5 kB / 1.448 GB, free: 4.703 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.3374, allocations: 0.8315 MB / 1.448 GB, free: 3.824 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.3377, allocations: 253.2 kB / 1.449 GB, free: 3.57 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3379, allocations: 104.8 kB / 1.449 GB, free: 3.465 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3379, allocations: 4 kB / 1.449 GB, free: 3.461 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3381, allocations: 179.3 kB / 1.449 GB, free: 3.273 MB / 1.12 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.3381, allocations: 0 / 1.449 GB, free: 3.273 MB / 1.12 GB Notification: Performance of matching and sorting (n=32): time 0.0004774/0.3386, allocations: 357.3 kB / 1.449 GB, free: 2.918 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.3386, allocations: 59.41 kB / 1.449 GB, free: 2.848 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3388, allocations: 203.5 kB / 1.45 GB, free: 2.633 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3388, allocations: 41.7 kB / 1.45 GB, free: 2.586 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.3389, allocations: 152.8 kB / 1.45 GB, free: 2.434 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.3389, allocations: 91.31 kB / 1.45 GB, free: 2.344 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.339, allocations: 82.12 kB / 1.45 GB, free: 2.254 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.3391, allocations: 338.8 kB / 1.45 GB, free: 1.914 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.3392, allocations: 138.5 kB / 1.45 GB, free: 1.773 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3394, allocations: 198.9 kB / 1.451 GB, free: 1.559 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.3397, allocations: 262.6 kB / 1.451 GB, free: 1.277 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3397, allocations: 0 / 1.451 GB, free: 1.277 MB / 1.12 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003962/0.3401, allocations: 400.6 kB / 1.451 GB, free: 0.8672 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.3401, allocations: 35.73 kB / 1.451 GB, free: 0.8281 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3401, allocations: 4 kB / 1.451 GB, free: 0.8242 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3401, allocations: 0 / 1.451 GB, free: 0.8242 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3402, allocations: 39.91 kB / 1.451 GB, free: 0.7852 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3402, allocations: 4 kB / 1.451 GB, free: 0.7812 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.3404, allocations: 67.83 kB / 1.451 GB, free: 0.7148 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3404, allocations: 12 kB / 1.451 GB, free: 0.7031 MB / 1.12 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.0001165/0.3405, allocations: 181.6 kB / 1.452 GB, free: 0.5156 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.3405, allocations: 19.86 kB / 1.452 GB, free: 0.4961 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.3405, allocations: 30.66 kB / 1.452 GB, free: 476 kB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3406, allocations: 4 kB / 1.452 GB, free: 472 kB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3406, allocations: 7.984 kB / 1.452 GB, free: 464 kB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3406, allocations: 0 / 1.452 GB, free: 464 kB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.3412, allocations: 0.671 MB / 1.452 GB, free: 15.73 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3412, allocations: 0 / 1.452 GB, free: 15.73 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.3413, allocations: 23.98 kB / 1.452 GB, free: 15.71 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3413, allocations: 4 kB / 1.452 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3413, allocations: 7.938 kB / 1.452 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3413, allocations: 3.938 kB / 1.452 GB, free: 15.69 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3413, allocations: 4 kB / 1.452 GB, free: 15.69 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3416, allocations: 376.5 kB / 1.453 GB, free: 15.3 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.3416, allocations: 19.8 kB / 1.453 GB, free: 15.29 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3416, allocations: 11.94 kB / 1.453 GB, free: 15.27 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3417, allocations: 31.95 kB / 1.453 GB, free: 15.24 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.3418, allocations: 43.94 kB / 1.453 GB, free: 15.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3418, allocations: 8 kB / 1.453 GB, free: 15.19 MB / 1.135 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.3419, allocations: 133.2 kB / 1.453 GB, free: 15.06 MB / 1.135 GB Notification: Performance of sort global known variables: time 5e-08/0.3419, allocations: 0 / 1.453 GB, free: 15.06 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002001/0.3421, allocations: 63.89 kB / 1.453 GB, free: 15 MB / 1.135 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.0005059/0.3426, allocations: 0.9175 MB / 1.454 GB, free: 14.05 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.343, allocations: 353.2 kB / 1.454 GB, free: 13.69 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.343, allocations: 0 / 1.454 GB, free: 13.69 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3431, allocations: 119.9 kB / 1.454 GB, free: 13.57 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3434, allocations: 48.2 kB / 1.454 GB, free: 13.53 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3456, allocations: 2.736 MB / 1.457 GB, free: 10.64 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.88e-05/0.3457, allocations: 154.8 kB / 1.457 GB, free: 10.48 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 7.339e-05/0.3458, allocations: 30.28 kB / 1.457 GB, free: 10.45 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.3459, allocations: 83.45 kB / 1.457 GB, free: 10.36 MB / 1.135 GB Notification: Performance of SimCode: time 5.01e-07/0.3459, allocations: 3.938 kB / 1.457 GB, free: 10.36 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.3626, allocations: 6.14 MB / 1.463 GB, free: 4.402 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/7.885, allocations: 4.062 kB / 1.463 GB, free: 4.398 MB / 1.135 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 12.77731436304748]