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.0007961/0.0007961, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008268/0.0008268, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8712/0.8712, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.922/1.922, allocations: 428.6 MB / 0.6716 GB, free: 5.035 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.423e-06/1.423e-06, allocations: 0 / 1.064 GB, free: 34.08 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.313e-05, allocations: 10.22 kB / 1.064 GB, free: 34.07 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.001846/0.001859, allocations: 1.979 MB / 1.066 GB, free: 32.74 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.002588, allocations: 0.7113 MB / 1.067 GB, free: 32.25 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.002686, allocations: 13.56 kB / 1.067 GB, free: 32.24 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.002797, allocations: 34.08 kB / 1.067 GB, free: 32.21 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.002865, allocations: 37.41 kB / 1.067 GB, free: 32.18 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.003175, allocations: 166.3 kB / 1.067 GB, free: 32.09 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.003436, allocations: 415 kB / 1.067 GB, free: 31.88 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.003662, allocations: 206.2 kB / 1.067 GB, free: 31.79 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003803, allocations: 209.5 kB / 1.068 GB, free: 31.68 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.003902, allocations: 105.9 kB / 1.068 GB, free: 31.64 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.003934, allocations: 39.44 kB / 1.068 GB, free: 31.64 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.003996, allocations: 45.5 kB / 1.068 GB, free: 31.63 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.004047, allocations: 90.47 kB / 1.068 GB, free: 31.57 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.004113, allocations: 97.92 kB / 1.068 GB, free: 31.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.004393, allocations: 467.2 kB / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004395, allocations: 0 / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004395, allocations: 2.844 kB / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.0044, allocations: 0 / 1.068 GB, free: 31.32 MB / 1.01 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.0005631/0.004963, allocations: 0.5325 MB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.004995, allocations: 8.719 kB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.005036, allocations: 68.05 kB / 1.069 GB, free: 30.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.005201, allocations: 44.33 kB / 1.069 GB, free: 30.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.005406, allocations: 216.2 kB / 1.069 GB, free: 30.63 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.005431, allocations: 31.34 kB / 1.069 GB, free: 30.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.005459, allocations: 35.28 kB / 1.069 GB, free: 30.61 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.005836, allocations: 325.3 kB / 1.07 GB, free: 30.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.005847, allocations: 3.422 kB / 1.07 GB, free: 30.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.00587, allocations: 15.03 kB / 1.07 GB, free: 30.44 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.005877, allocations: 12.5 kB / 1.07 GB, free: 30.44 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.006189, allocations: 246.2 kB / 1.07 GB, free: 30.36 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/0.007004, allocations: 0.834 MB / 1.071 GB, free: 29.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.007347, allocations: 251.1 kB / 1.071 GB, free: 29.66 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.007474, allocations: 104.9 kB / 1.071 GB, free: 29.62 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007491, allocations: 5.188 kB / 1.071 GB, free: 29.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.0077, allocations: 171.5 kB / 1.071 GB, free: 29.54 MB / 1.01 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.007702, allocations: 0 / 1.071 GB, free: 29.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.0004676/0.00817, allocations: 365.2 kB / 1.072 GB, free: 29.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.008195, allocations: 56.56 kB / 1.072 GB, free: 29.33 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.008302, allocations: 199.9 kB / 1.072 GB, free: 29.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.008323, allocations: 46.66 kB / 1.072 GB, free: 29.14 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.008378, allocations: 154.8 kB / 1.072 GB, free: 29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.008412, allocations: 81.45 kB / 1.072 GB, free: 28.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.008484, allocations: 91.11 kB / 1.072 GB, free: 28.89 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.008529, allocations: 335.1 kB / 1.073 GB, free: 28.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.008686, allocations: 136.5 kB / 1.073 GB, free: 28.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.008853, allocations: 193 kB / 1.073 GB, free: 28.38 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.009108, allocations: 263.1 kB / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.009111, allocations: 6.844 kB / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003805/0.009492, allocations: 390.1 kB / 1.073 GB, free: 28.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.009515, allocations: 36.97 kB / 1.073 GB, free: 27.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.009521, allocations: 0 / 1.073 GB, free: 27.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.009535, allocations: 2.719 kB / 1.073 GB, free: 27.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.009647, allocations: 43.3 kB / 1.074 GB, free: 27.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.009654, allocations: 2.625 kB / 1.074 GB, free: 27.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.009773, allocations: 60.36 kB / 1.074 GB, free: 27.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.009791, allocations: 14.09 kB / 1.074 GB, free: 27.94 MB / 1.01 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.000103/0.009894, allocations: 177.9 kB / 1.074 GB, free: 27.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.009912, allocations: 27.2 kB / 1.074 GB, free: 27.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.00995, allocations: 32.88 kB / 1.074 GB, free: 27.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009954, allocations: 5.531 kB / 1.074 GB, free: 27.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.00996, allocations: 4 kB / 1.074 GB, free: 27.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.009967, allocations: 7.219 kB / 1.074 GB, free: 27.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.01059, allocations: 0.66 MB / 1.074 GB, free: 27.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01059, allocations: 0 / 1.074 GB, free: 27.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.01066, allocations: 29.48 kB / 1.075 GB, free: 27.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01066, allocations: 2.875 kB / 1.075 GB, free: 27.31 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01068, allocations: 4 kB / 1.075 GB, free: 27.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01068, allocations: 2.75 kB / 1.075 GB, free: 27.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01068, allocations: 7.938 kB / 1.075 GB, free: 27.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.01098, allocations: 368.1 kB / 1.075 GB, free: 27.08 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.011, allocations: 31.11 kB / 1.075 GB, free: 27.06 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.01102, allocations: 6.562 kB / 1.075 GB, free: 27.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01113, allocations: 29.69 kB / 1.075 GB, free: 27.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.01121, allocations: 50.03 kB / 1.075 GB, free: 27.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.01123, allocations: 9.719 kB / 1.075 GB, free: 27.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.01129, allocations: 130.6 kB / 1.075 GB, free: 26.95 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.01129, allocations: 0 / 1.075 GB, free: 26.95 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002128/0.0115, allocations: 70.52 kB / 1.075 GB, free: 26.92 MB / 1.01 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.0004531/0.01195, allocations: 0.9072 MB / 1.076 GB, free: 26.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.01234, allocations: 348.1 kB / 1.076 GB, free: 26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01235, allocations: 0 / 1.076 GB, free: 26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.01251, allocations: 118.7 kB / 1.077 GB, free: 25.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01275, allocations: 37.8 kB / 1.077 GB, free: 25.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.01495, allocations: 2.756 MB / 1.079 GB, free: 23.97 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.01502, allocations: 150.5 kB / 1.079 GB, free: 23.89 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.0151, allocations: 30.92 kB / 1.079 GB, free: 23.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.01519, allocations: 77.52 kB / 1.08 GB, free: 23.83 MB / 1.01 GB Notification: Performance of SimCode: time 8.61e-07/0.01519, allocations: 4.047 kB / 1.08 GB, free: 23.82 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.03245, allocations: 6.288 MB / 1.086 GB, free: 22.54 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.266, allocations: 8.984 kB / 1.086 GB, free: 22.54 MB / 1.01 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 & /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: 11.810449738055468]