Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.0009187/0.0009187, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.002166, allocations: 449.7 kB / 10.37 MB, free: 324 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.0008306/0.0008306, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002212, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0941/1.134, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.908/1.908, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5393/2.447, allocations: 127.1 MB / 0.7432 GB, free: 4.629 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.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7445 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.204e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002094/0.002116, allocations: 1.787 MB / 0.7462 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005727/0.002689, allocations: 0.5202 MB / 0.7467 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.002741, allocations: 3.938 kB / 0.7467 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.002765, allocations: 3.938 kB / 0.7467 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.002814, allocations: 23.66 kB / 0.7467 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.00293, allocations: 44.53 kB / 0.7468 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003044, allocations: 94.56 kB / 0.7469 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.003137, allocations: 32.12 kB / 0.7469 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003269, allocations: 62.36 kB / 0.747 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.003333, allocations: 31.91 kB / 0.747 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.00335, allocations: 8 kB / 0.747 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-05/0.003403, allocations: 11.94 kB / 0.747 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.003416, allocations: 11.94 kB / 0.747 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.003439, allocations: 16 kB / 0.747 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003557, allocations: 59.77 kB / 0.7471 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.003572, allocations: 7.297 kB / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003573, allocations: 0 / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.003585, allocations: 0 / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003656/0.00395, allocations: 304.3 kB / 0.7474 GB, free: 368 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.003979, allocations: 8.031 kB / 0.7474 GB, free: 360 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.004133, allocations: 102 kB / 0.7475 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.004268, allocations: 148.7 kB / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.004276, allocations: 8.375 kB / 0.7477 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.004285, allocations: 4.375 kB / 0.7477 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.004422, allocations: 110.3 kB / 0.7478 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.004435, allocations: 4.125 kB / 0.7478 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004442, allocations: 384 / 0.7478 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004448, allocations: 7.938 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.004477, allocations: 8 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.004708, allocations: 196 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.004763, allocations: 30.56 kB / 0.748 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.004781, allocations: 12.94 kB / 0.748 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.004792, allocations: 3.938 kB / 0.748 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.004811, allocations: 34.56 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004812, allocations: 0 / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001075/0.004919, allocations: 49.72 kB / 0.7481 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.004944, allocations: 51.41 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.005333, allocations: 136.9 kB / 0.7483 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.00535, allocations: 25.7 kB / 0.7483 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.005386, allocations: 96.06 kB / 0.7484 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.005407, allocations: 15.91 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.005442, allocations: 21.69 kB / 0.7484 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.005516, allocations: 322.8 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.005528, allocations: 5.969 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.005556, allocations: 39.42 kB / 0.7488 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.005586, allocations: 20.84 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.005588, allocations: 3.938 kB / 0.7488 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.241e-05/0.005641, allocations: 57.69 kB / 0.7489 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.005666, allocations: 7.5 kB / 0.7489 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00567, allocations: 4 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.005677, allocations: 0 / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.005746, allocations: 8.984 kB / 0.7489 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.005749, allocations: 4 kB / 0.7489 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.005778, allocations: 12.52 kB / 0.7489 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.005782, allocations: 0 / 0.7489 GB, free: 14.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 5.556e-05/0.005837, allocations: 114.6 kB / 0.749 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.005853, allocations: 9.438 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.005872, allocations: 12.33 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.005875, allocations: 4 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005876, allocations: 0 / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005878, allocations: 1 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.005961, allocations: 77.88 kB / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.005961, allocations: 0 / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.005987, allocations: 17.11 kB / 0.7491 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.005996, allocations: 11.94 kB / 0.7491 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005998, allocations: 3.938 kB / 0.7491 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.006004, allocations: 9.203 kB / 0.7491 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006004, allocations: 0 / 0.7491 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006005, allocations: 192 / 0.7491 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.006075, allocations: 136.5 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.00609, allocations: 7.938 kB / 0.7493 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.912e-05/0.006129, allocations: 8.703 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.006163, allocations: 11.98 kB / 0.7493 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.006166, allocations: 1.438 kB / 0.7493 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.006184, allocations: 20.84 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006184, allocations: 0 / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001138/0.006297, allocations: 16 kB / 0.7493 GB, free: 14.18 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.024e-05/0.006368, allocations: 89.67 kB / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/0.006441, allocations: 24.84 kB / 0.7494 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.006446, allocations: 1.719 kB / 0.7494 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.006465, allocations: 12.86 kB / 0.7495 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.006593, allocations: 19.92 kB / 0.7495 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.007494, allocations: 186.4 kB / 0.7497 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.007542, allocations: 59.36 kB / 0.7497 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.00757, allocations: 7.609 kB / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.007625, allocations: 63.38 kB / 0.7498 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.007626, allocations: 0 / 0.7498 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.002382/0.01001, allocations: 1.004 MB / 0.7508 GB, free: 12.72 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.895944480784237]