Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009464/0.0009464, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002272, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009667/0.0009667, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002233, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9759/0.9759, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.842/1.842, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4806/2.323, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7448 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.468e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003251/0.003266, allocations: 2.096 MB / 0.7468 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004379, allocations: 0.725 MB / 0.7476 GB, free: 452 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.004491, allocations: 4 kB / 0.7476 GB, free: 448 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.004594, allocations: 32.7 kB / 0.7476 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.004701, allocations: 48.42 kB / 0.7476 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.005084, allocations: 163.7 kB / 0.7478 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.005676, allocations: 415.2 kB / 0.7482 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.005989, allocations: 220.2 kB / 0.7484 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.006231, allocations: 223.6 kB / 0.7486 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.006394, allocations: 109.1 kB / 0.7487 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.006447, allocations: 40 kB / 0.7488 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.006537, allocations: 44 kB / 0.7488 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.006617, allocations: 70.62 kB / 0.7489 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.517e-05/0.006712, allocations: 79.88 kB / 0.7489 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.007053, allocations: 239 kB / 0.7492 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.007066, allocations: 0 / 0.7492 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007066, allocations: 4 kB / 0.7492 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.007083, allocations: 0 / 0.7492 GB, free: 14.8 MB / 0.7292 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.0008535/0.007936, allocations: 0.5614 MB / 0.7497 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.007972, allocations: 8.031 kB / 0.7497 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.008269, allocations: 138.6 kB / 0.7499 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.008513, allocations: 174.2 kB / 0.75 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.008545, allocations: 32.97 kB / 0.7501 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.00859, allocations: 32.94 kB / 0.7501 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.00896, allocations: 242.9 kB / 0.7503 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.008972, allocations: 192 / 0.7503 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.008997, allocations: 13.88 kB / 0.7503 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.009009, allocations: 11.94 kB / 0.7503 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.009168, allocations: 84.47 kB / 0.7504 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008914/0.01006, allocations: 0.5807 MB / 0.751 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.01029, allocations: 127.1 kB / 0.7511 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.01037, allocations: 53.58 kB / 0.7512 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.01039, allocations: 4 kB / 0.7512 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.01059, allocations: 128.5 kB / 0.7513 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.01059, allocations: 0 / 0.7513 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002914/0.01088, allocations: 166.9 kB / 0.7515 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.01092, allocations: 67.94 kB / 0.7515 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01105, allocations: 183.8 kB / 0.7517 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.01108, allocations: 39.42 kB / 0.7517 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.01118, allocations: 160.6 kB / 0.7519 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.01124, allocations: 83.34 kB / 0.752 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.01135, allocations: 86.12 kB / 0.752 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.01145, allocations: 335.6 kB / 0.7524 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.01153, allocations: 62.69 kB / 0.7524 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01165, allocations: 124.5 kB / 0.7525 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.01185, allocations: 174.5 kB / 0.7527 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.01185, allocations: 0 / 0.7527 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002882/0.01214, allocations: 243.6 kB / 0.7529 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.01217, allocations: 33.64 kB / 0.753 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01218, allocations: 4 kB / 0.753 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.0122, allocations: 3.938 kB / 0.753 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.0124, allocations: 55.91 kB / 0.753 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01241, allocations: 4 kB / 0.753 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.01255, allocations: 42.05 kB / 0.7531 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01257, allocations: 8 kB / 0.7531 GB, free: 10.54 MB / 0.7292 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.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,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.resume) * 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.0001228/0.01269, allocations: 150.4 kB / 0.7532 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.01273, allocations: 23.92 kB / 0.7533 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.01278, allocations: 40.33 kB / 0.7533 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01278, allocations: 4 kB / 0.7533 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01279, allocations: 4 kB / 0.7533 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01279, allocations: 0 / 0.7533 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.01332, allocations: 401 kB / 0.7537 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.01333, allocations: 4.984 kB / 0.7537 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.01345, allocations: 31.92 kB / 0.7537 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01347, allocations: 19.8 kB / 0.7537 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01347, allocations: 4.531 kB / 0.7537 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.01349, allocations: 5.125 kB / 0.7537 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01349, allocations: 4 kB / 0.7537 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.0135, allocations: 3.984 kB / 0.7538 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.01373, allocations: 237.1 kB / 0.754 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.01377, allocations: 11.98 kB / 0.754 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01391, allocations: 21.45 kB / 0.754 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.014, allocations: 35.94 kB / 0.754 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.01401, allocations: 12.58 kB / 0.7541 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.01405, allocations: 31.64 kB / 0.7541 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01405, allocations: 0.7188 kB / 0.7541 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002889/0.01434, allocations: 72.44 kB / 0.7542 GB, free: 9.41 MB / 0.7292 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.0001476/0.01449, allocations: 99.78 kB / 0.7543 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.01484, allocations: 244.6 kB / 0.7545 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.01485, allocations: 7.875 kB / 0.7545 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.015, allocations: 101.2 kB / 0.7546 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.01539, allocations: 268.6 kB / 0.7548 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.01692, allocations: 433 kB / 0.7553 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.01697, allocations: 89.55 kB / 0.7553 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.01704, allocations: 20.89 kB / 0.7554 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.01716, allocations: 96.36 kB / 0.7555 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.01716, allocations: 4 kB / 0.7555 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of Templates: time 0.004642/0.0218, allocations: 3.119 MB / 0.7585 GB, free: 4.996 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.729051433503628]