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.001843/0.001843, allocations: 104.3 kB / 19.72 MB, free: 420 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.002048/0.002048, allocations: 216 kB / 23.02 MB, free: 2.961 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 1.632/1.632, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 3.369/3.369, allocations: 0.5045 GB / 0.8104 GB, free: 2.809 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003692/0.003692, allocations: 75.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7974, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003998/0.8014, allocations: 1.979 MB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.8031, allocations: 0.6897 MB / 1.356 GB, free: 14.92 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.8032, allocations: 7.938 kB / 1.356 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.8034, allocations: 35.61 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.8035, allocations: 39.59 kB / 1.356 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.8041, allocations: 167.7 kB / 1.356 GB, free: 14.67 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.8046, allocations: 411.2 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.805, allocations: 207.5 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.8053, allocations: 139.5 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.8055, allocations: 127.4 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.8056, allocations: 43.94 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.8057, allocations: 43.94 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.8058, allocations: 91.73 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.8059, allocations: 123.5 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005873/0.8065, allocations: 434.3 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8065, allocations: 3.938 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8065, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.8065, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 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.001181/0.8077, allocations: 0.5313 MB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.8078, allocations: 12.92 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.8081, allocations: 52.66 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.8084, allocations: 206.1 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.8085, allocations: 32.97 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.8085, allocations: 32.36 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.8093, allocations: 337.4 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8093, allocations: 0 / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.8094, allocations: 16 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.8094, allocations: 4 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.81, allocations: 250.5 kB / 1.359 GB, free: 11.56 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.8116, allocations: 0.7732 MB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.8123, allocations: 242.9 kB / 1.36 GB, free: 10.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.8125, allocations: 108.8 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.8126, allocations: 11.94 kB / 1.36 GB, free: 10.38 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/0.813, allocations: 183.2 kB / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.813, allocations: 0 / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=32): time 0.0008857/0.8139, allocations: 353.4 kB / 1.36 GB, free: 9.84 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.814, allocations: 55.41 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.8142, allocations: 189 kB / 1.361 GB, free: 9.574 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.8142, allocations: 37.7 kB / 1.361 GB, free: 9.531 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.8144, allocations: 160.7 kB / 1.361 GB, free: 9.367 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.8144, allocations: 91.25 kB / 1.361 GB, free: 9.277 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.8146, allocations: 86.11 kB / 1.361 GB, free: 9.184 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8148, allocations: 334.8 kB / 1.361 GB, free: 8.848 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.8151, allocations: 138.5 kB / 1.361 GB, free: 8.707 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.8154, allocations: 187.2 kB / 1.362 GB, free: 8.504 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.816, allocations: 266.6 kB / 1.362 GB, free: 8.219 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.816, allocations: 0 / 1.362 GB, free: 8.219 MB / 1.042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008694/0.8168, allocations: 396.6 kB / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.8169, allocations: 37.62 kB / 1.362 GB, free: 7.77 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.8169, allocations: 4 kB / 1.362 GB, free: 7.766 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8169, allocations: 0 / 1.362 GB, free: 7.766 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.8171, allocations: 43.86 kB / 1.362 GB, free: 7.723 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.8171, allocations: 11.92 kB / 1.362 GB, free: 7.711 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.8174, allocations: 55.97 kB / 1.362 GB, free: 7.656 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.8174, allocations: 8 kB / 1.362 GB, free: 7.648 MB / 1.042 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.0002069/0.8176, allocations: 173.7 kB / 1.363 GB, free: 7.473 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.8176, allocations: 23.86 kB / 1.363 GB, free: 7.449 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.8177, allocations: 30.66 kB / 1.363 GB, free: 7.422 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.8177, allocations: 3.984 kB / 1.363 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8177, allocations: 4 kB / 1.363 GB, free: 7.414 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8177, allocations: 0 / 1.363 GB, free: 7.414 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8189, allocations: 0.6325 MB / 1.363 GB, free: 6.746 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8189, allocations: 0 / 1.363 GB, free: 6.746 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.8191, allocations: 27.92 kB / 1.363 GB, free: 6.719 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.8191, allocations: 4 kB / 1.363 GB, free: 6.715 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8191, allocations: 11.98 kB / 1.363 GB, free: 6.703 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.8191, allocations: 4 kB / 1.363 GB, free: 6.699 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8191, allocations: 0 / 1.363 GB, free: 6.699 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.8197, allocations: 360.3 kB / 1.364 GB, free: 6.328 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.8198, allocations: 23.78 kB / 1.364 GB, free: 6.305 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.8198, allocations: 15.92 kB / 1.364 GB, free: 6.289 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.82, allocations: 31.97 kB / 1.364 GB, free: 6.258 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.8201, allocations: 43.88 kB / 1.364 GB, free: 6.215 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.8202, allocations: 8 kB / 1.364 GB, free: 6.207 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001089/0.8203, allocations: 124.9 kB / 1.364 GB, free: 6.086 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8203, allocations: 0 / 1.364 GB, free: 6.086 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003198/0.8206, allocations: 67.88 kB / 1.364 GB, free: 6.02 MB / 1.042 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.0001645/0.8207, allocations: 113.2 kB / 1.364 GB, free: 5.898 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007058/0.8215, allocations: 349 kB / 1.364 GB, free: 5.539 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8215, allocations: 0 / 1.364 GB, free: 5.539 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.8217, allocations: 120.4 kB / 1.364 GB, free: 5.422 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.8221, allocations: 34.22 kB / 1.364 GB, free: 5.391 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.823, allocations: 450.8 kB / 1.365 GB, free: 4.93 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.8232, allocations: 146.7 kB / 1.365 GB, free: 4.758 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.8233, allocations: 34.22 kB / 1.365 GB, free: 4.723 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.8234, allocations: 27.38 kB / 1.365 GB, free: 4.695 MB / 1.042 GB Notification: Performance of SimCode: time 3.31e-07/0.8234, allocations: 0 / 1.365 GB, free: 4.695 MB / 1.042 GB Notification: Performance of Templates: time 0.007975/0.8314, allocations: 3.073 MB / 1.368 GB, free: 1.664 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.047244096174836]