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.0007931/0.0007931, allocations: 96.7 kB / 19.44 MB, free: 356 kB / 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.0008663/0.0008663, allocations: 157.3 kB / 22.75 MB, free: 1.688 MB / 18.57 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.8872/0.8872, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.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 1.885/1.885, allocations: 428.6 MB / 0.672 GB, free: 4.895 MB / 0.6355 GB " [Timeout remaining time 178] 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 1.303e-06/1.303e-06, allocations: 0 / 0.8758 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.75e-05, allocations: 7.297 kB / 0.8758 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002205/0.002222, allocations: 2.013 MB / 0.8778 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.003111, allocations: 0.6961 MB / 0.8785 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.003214, allocations: 7.938 kB / 0.8785 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.00334, allocations: 32.45 kB / 0.8785 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.003422, allocations: 44.33 kB / 0.8786 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.003839, allocations: 168.5 kB / 0.8787 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.004169, allocations: 415.1 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.004419, allocations: 206.2 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.004585, allocations: 208.8 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.004698, allocations: 111.7 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.004735, allocations: 40 kB / 0.8797 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-05/0.004799, allocations: 41 kB / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.004857, allocations: 87.72 kB / 0.8798 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.004937, allocations: 104.8 kB / 0.8799 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.005273, allocations: 462.5 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005274, allocations: 0 / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005275, allocations: 1.125 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.005281, allocations: 4 kB / 0.8803 GB, free: 3.777 MB / 0.8386 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.0006606/0.005942, allocations: 0.5439 MB / 0.8809 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.005974, allocations: 8.031 kB / 0.8809 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.006022, allocations: 71.44 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.006227, allocations: 64.73 kB / 0.881 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.00646, allocations: 211 kB / 0.8812 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.006491, allocations: 32.97 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.006522, allocations: 32.38 kB / 0.8813 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.006927, allocations: 326.6 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.006935, allocations: 192 / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.006958, allocations: 21.22 kB / 0.8816 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.006965, allocations: 8 kB / 0.8816 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.007301, allocations: 243.1 kB / 0.8818 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.008177, allocations: 0.8407 MB / 0.8826 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.008528, allocations: 246.9 kB / 0.8829 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.008661, allocations: 108.8 kB / 0.883 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.008677, allocations: 5.312 kB / 0.883 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.008903, allocations: 180 kB / 0.8832 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.008904, allocations: 1.562 kB / 0.8832 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0005057/0.00941, allocations: 367 kB / 0.8835 GB, free: 372 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.009448, allocations: 59.34 kB / 0.8836 GB, free: 300 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.009579, allocations: 207.5 kB / 0.8838 GB, free: 76 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.009607, allocations: 45.7 kB / 0.8838 GB, free: 24 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.009699, allocations: 152.8 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.009751, allocations: 87.36 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.009838, allocations: 82.19 kB / 0.8841 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.00993, allocations: 334.8 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.0101, allocations: 134.6 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.01029, allocations: 195.8 kB / 0.8848 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.01057, allocations: 254.7 kB / 0.885 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01057, allocations: 3.938 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005958/0.01117, allocations: 412.6 kB / 0.8854 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.01121, allocations: 37.86 kB / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01121, allocations: 0 / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01123, allocations: 7.984 kB / 0.8854 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01139, allocations: 39.92 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.0114, allocations: 4 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.01159, allocations: 55.73 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.01162, allocations: 12 kB / 0.8855 GB, free: 14.15 MB / 0.8542 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.0001589/0.01178, allocations: 185.7 kB / 0.8857 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.01182, allocations: 35.86 kB / 0.8858 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.01187, allocations: 30.64 kB / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01188, allocations: 0 / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01188, allocations: 4 kB / 0.8858 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01189, allocations: 3.938 kB / 0.8858 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009407/0.01283, allocations: 0.67 MB / 0.8864 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.01283, allocations: 0 / 0.8864 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01294, allocations: 27.98 kB / 0.8865 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01294, allocations: 0 / 0.8865 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01296, allocations: 11.98 kB / 0.8865 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01297, allocations: 0 / 0.8865 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01297, allocations: 0 / 0.8865 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.01347, allocations: 377.5 kB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.0135, allocations: 23.84 kB / 0.8869 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.01354, allocations: 7.984 kB / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.01372, allocations: 35.91 kB / 0.8869 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.01382, allocations: 47.86 kB / 0.887 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01384, allocations: 8 kB / 0.887 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01394, allocations: 134.3 kB / 0.8871 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01394, allocations: 0 / 0.8871 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003509/0.0143, allocations: 75.78 kB / 0.8872 GB, free: 12.42 MB / 0.8542 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.0007741/0.01507, allocations: 0.9175 MB / 0.8881 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.0155, allocations: 344.9 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.0155, allocations: 4.062 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.01565, allocations: 127.8 kB / 0.8885 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.01591, allocations: 37.28 kB / 0.8885 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.01824, allocations: 2.774 MB / 0.8913 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.01832, allocations: 154.6 kB / 0.8914 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.951e-05/0.01839, allocations: 22.28 kB / 0.8914 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.0185, allocations: 84.47 kB / 0.8915 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.0185, allocations: 0 / 0.8915 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.03695, allocations: 6.383 MB / 0.8977 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.289, allocations: 14.55 kB / 0.8978 GB, free: 1.555 MB / 0.8542 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 11.2478092238307]