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.001857/0.001857, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.00207/0.00207, allocations: 173.6 kB / 23.24 MB, free: 1.324 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 1.534/1.534, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.297/3.297, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 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.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.193e-06/1.193e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.599e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003094/0.00312, allocations: 1.695 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009791/0.004099, allocations: 490.8 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.004166, allocations: 7.875 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.004199, allocations: 3.938 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.004275, allocations: 19.8 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.004533, allocations: 47.88 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.004698, allocations: 91.64 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.00482, allocations: 20.22 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.004994, allocations: 59.77 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.005074, allocations: 31.91 kB / 1.004 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.0051, allocations: 8 kB / 1.004 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.005148, allocations: 11.98 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.005172, allocations: 11.98 kB / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.005215, allocations: 23.92 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.005414, allocations: 95.72 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005417, allocations: 0 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005418, allocations: 4 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.005422, allocations: 4 kB / 1.004 GB, free: 10.44 MB / 0.9636 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.0005742/0.005996, allocations: 321.9 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.006035, allocations: 12.73 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.006247, allocations: 28.83 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.006463, allocations: 125.7 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.006476, allocations: 4.312 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.006497, allocations: 12.36 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.006733, allocations: 117.6 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.006741, allocations: 192 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.006756, allocations: 8.375 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006762, allocations: 3.938 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.006935, allocations: 51.91 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.007399, allocations: 252.4 kB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.007554, allocations: 54.53 kB / 1.005 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.00764, allocations: 28.94 kB / 1.005 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.007662, allocations: 7.984 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.007696, allocations: 30.56 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.007697, allocations: 0 / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003488/0.008045, allocations: 97.61 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.008112, allocations: 85.05 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.008262, allocations: 140.2 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.008292, allocations: 33.69 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.008372, allocations: 96.09 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.008405, allocations: 23.81 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.008451, allocations: 17.66 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.008622, allocations: 322.8 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.008708, allocations: 23.98 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.008821, allocations: 63.41 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.008976, allocations: 52.92 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.00898, allocations: 4 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002184/0.009199, allocations: 85.62 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.009216, allocations: 8 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.009224, allocations: 3.984 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.009237, allocations: 0 / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.009346, allocations: 15.92 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.009351, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.009431, allocations: 15.92 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.009439, allocations: 4 kB / 1.006 GB, free: 8.129 MB / 0.9636 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 0.0001136/0.009552, allocations: 117.8 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.009587, allocations: 11.94 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.009624, allocations: 12.34 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009625, allocations: 0 / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.009629, allocations: 0 / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.009631, allocations: 192 / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.009813, allocations: 129.2 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.009819, allocations: 7.984 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.009894, allocations: 11.98 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.009896, allocations: 0 / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.009907, allocations: 4 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009908, allocations: 0 / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.009909, allocations: 0 / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.01019, allocations: 183.3 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01021, allocations: 7.953 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01023, allocations: 4 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.01034, allocations: 11.98 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.01039, allocations: 7.984 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.0104, allocations: 7.984 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.118e-05/0.01048, allocations: 101.5 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01048, allocations: 0 / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002258/0.0107, allocations: 12 kB / 1.006 GB, free: 7.449 MB / 0.9636 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 0.0001429/0.01085, allocations: 103.2 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.01108, allocations: 59.89 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01108, allocations: 0 / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.01118, allocations: 27.98 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01142, allocations: 12.06 kB / 1.007 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.01184, allocations: 169.4 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.787e-05/0.01192, allocations: 79.27 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01196, allocations: 3.984 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.01202, allocations: 20.5 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of SimCode: time 4.3e-07/0.01202, allocations: 0 / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of Templates: time 0.00399/0.01601, allocations: 0.9215 MB / 1.008 GB, free: 6.027 MB / 0.9636 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: 8.801868105307221]