Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.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.0007456/0.0007456, allocations: 79.69 kB / 20.81 MB, free: 3.707 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.0008025/0.0008025, allocations: 165.3 kB / 24.09 MB, free: 428 kB / 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.9045/0.9045, allocations: 177.1 MB / 204.4 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.05978/0.05978, allocations: 18.12 MB / 279 MB, free: 11.48 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit") translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 417.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/3.007e-05, allocations: 2.281 kB / 417.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.002665/0.002695, allocations: 1.801 MB / 419.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.003566, allocations: 0.6062 MB / 419.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.003665, allocations: 7.031 kB / 419.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.003989, allocations: 23.55 kB / 419.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.004133, allocations: 42.42 kB / 419.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.004422, allocations: 130.8 kB / 420 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.004678, allocations: 178.6 kB / 420.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.004838, allocations: 46 kB / 420.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.004952, allocations: 68.81 kB / 420.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.005113, allocations: 75.08 kB / 420.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.005151, allocations: 21.47 kB / 420.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.005174, allocations: 16.94 kB / 420.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.005253, allocations: 55.94 kB / 420.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.005307, allocations: 51.83 kB / 420.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.005541, allocations: 192.5 kB / 420.7 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005543, allocations: 1.062 kB / 420.7 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.005544, allocations: 0 / 420.7 MB, free: 10 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.005549, allocations: 0 / 420.7 MB, free: 10 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006527/0.006202, allocations: 452.9 kB / 421.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.006238, allocations: 9.484 kB / 421.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.006282, allocations: 18.91 kB / 421.1 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.006563, allocations: 220.6 kB / 421.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.006577, allocations: 9.016 kB / 421.4 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.006608, allocations: 17.77 kB / 421.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.006912, allocations: 195.4 kB / 421.6 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.006924, allocations: 192 / 421.6 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.006941, allocations: 5.812 kB / 421.6 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.006949, allocations: 6.812 kB / 421.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.007156, allocations: 118.6 kB / 421.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.007814, allocations: 447.2 kB / 422.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.008236, allocations: 187.3 kB / 422.3 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.008343, allocations: 71.05 kB / 422.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.008371, allocations: 2.141 kB / 422.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.008394, allocations: 32.69 kB / 422.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.008395, allocations: 0 / 422.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.00109/0.009485, allocations: 459.6 kB / 422.9 MB, free: 8.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.009516, allocations: 83.03 kB / 422.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.009748, allocations: 226.4 kB / 423.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.009762, allocations: 29.7 kB / 423.2 MB, free: 8.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.009823, allocations: 130.7 kB / 423.3 MB, free: 8.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.009854, allocations: 44.62 kB / 423.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.0099, allocations: 36.28 kB / 423.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.009947, allocations: 325.2 kB / 423.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01005, allocations: 66.36 kB / 423.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.01016, allocations: 116.4 kB / 423.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.01036, allocations: 149.5 kB / 424 MB, free: 7.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01036, allocations: 7.875 kB / 424.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002552/0.01062, allocations: 194.1 kB / 424.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01063, allocations: 5.5 kB / 424.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01064, allocations: 1.531 kB / 424.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01066, allocations: 0.5156 kB / 424.3 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.0108, allocations: 40.59 kB / 424.3 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01081, allocations: 1.312 kB / 424.3 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.0109, allocations: 31.23 kB / 424.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01091, allocations: 8.312 kB / 424.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.623e-05/0.01101, allocations: 146.1 kB / 424.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.219e-05/0.01109, allocations: 107.7 kB / 424.6 MB, free: 7.504 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001285/0.01122, allocations: 115.3 kB / 424.7 MB, free: 7.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.01e-07/0.01122, allocations: 0 / 424.7 MB, free: 7.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001855/0.01141, allocations: 173.5 kB / 424.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.01142, allocations: 5.469 kB / 424.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.01142, allocations: 1.625 kB / 424.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.01142, allocations: 1.219 kB / 424.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01154, allocations: 44.06 kB / 424.9 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-06/0.01154, allocations: 3.938 kB / 424.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.01163, allocations: 25.03 kB / 424.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01163, allocations: 7.938 kB / 424.9 MB, free: 7.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.117e-05/0.01169, allocations: 191.3 kB / 425.1 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.01171, allocations: 16.77 kB / 425.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.01219, allocations: 278.8 kB / 425.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.0122, allocations: 7 kB / 425.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01221, allocations: 0 / 425.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01221, allocations: 0.6094 kB / 425.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01238, allocations: 183.5 kB / 425.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01238, allocations: 0.6562 kB / 425.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.01244, allocations: 11.83 kB / 425.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.0127, allocations: 88.42 kB / 425.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01272, allocations: 1.953 kB / 425.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.01391, allocations: 1.709 MB / 427.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01391, allocations: 0 / 427.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.01445, allocations: 433 kB / 427.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.01447, allocations: 19.34 kB / 427.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01448, allocations: 6.172 kB / 427.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01459, allocations: 20.38 kB / 427.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.01464, allocations: 22.89 kB / 427.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.01465, allocations: 7.125 kB / 427.9 MB, free: 5.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.0148, allocations: 164.4 kB / 428.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0148, allocations: 1.188 kB / 428.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.01503, allocations: 57.3 kB / 428.1 MB, free: 5.062 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 8.425e-05/0.01512, allocations: 102.5 kB / 428.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.01544, allocations: 206.7 kB / 428.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01544, allocations: 0 / 428.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.0157, allocations: 209.3 kB / 428.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01594, allocations: 33.45 kB / 428.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.01646, allocations: 374.4 kB / 429 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.248e-05/0.01655, allocations: 126.1 kB / 429.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.801e-05/0.01664, allocations: 33.33 kB / 429.2 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.01668, allocations: 24.2 kB / 429.2 MB, free: 4.418 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01668, allocations: 0 / 429.2 MB, free: 4.418 MB / 330.7 MB Notification: Performance of Templates: time 0.005127/0.02181, allocations: 2.472 MB / 431.7 MB, free: 4.18 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.sim & ./AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit -lv=LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.0309270517900586] Failed to read output from testmodel.py, exit status != 0: 0.028598417527973652 0.035367209000000004 0.028093115000000002 Calling exit ...