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.0007586/0.0007586, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007838/0.0007838, allocations: 165.6 kB / 23.98 MB, free: 0.582 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 0.8563/0.8563, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.06036/0.06036, allocations: 18.12 MB / 278.8 MB, free: 11.55 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 1.323e-06/1.323e-06, allocations: 0 / 417.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.377e-05, allocations: 4.031 kB / 417.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_below_limit): time 0.00181/0.001834, allocations: 1.804 MB / 418.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006806/0.002514, allocations: 0.6063 MB / 419.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.002594, allocations: 2.156 kB / 419.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.002832, allocations: 28.41 kB / 419.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.002946, allocations: 42.06 kB / 419.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.003177, allocations: 131.8 kB / 419.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.003346, allocations: 182.6 kB / 419.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003452, allocations: 45.53 kB / 420 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.003529, allocations: 65.69 kB / 420 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.003642, allocations: 78.34 kB / 420.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.003675, allocations: 17.78 kB / 420.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.003694, allocations: 16.59 kB / 420.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.003759, allocations: 56.02 kB / 420.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.003802, allocations: 44.03 kB / 420.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.003987, allocations: 201.1 kB / 420.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.003989, allocations: 0 / 420.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00399, allocations: 0 / 420.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003995, allocations: 4 kB / 420.4 MB, free: 10.05 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.0006022/0.004597, allocations: 453.6 kB / 420.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.004628, allocations: 9.875 kB / 420.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.004669, allocations: 19.28 kB / 420.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.004924, allocations: 212.3 kB / 421.1 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004935, allocations: 10.05 kB / 421.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.004961, allocations: 17.2 kB / 421.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.00517, allocations: 197.3 kB / 421.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.005181, allocations: 1.859 kB / 421.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.005195, allocations: 5.656 kB / 421.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.005201, allocations: 10.38 kB / 421.3 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.005366, allocations: 119.5 kB / 421.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.005898, allocations: 439.4 kB / 421.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.006246, allocations: 193.1 kB / 422.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.006329, allocations: 70.77 kB / 422.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.006348, allocations: 1.25 kB / 422.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.00636, allocations: 33.97 kB / 422.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.006361, allocations: 0 / 422.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008844/0.007245, allocations: 463.1 kB / 422.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.007271, allocations: 79.19 kB / 422.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.007465, allocations: 225.7 kB / 422.9 MB, free: 8.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007477, allocations: 30.41 kB / 423 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.007526, allocations: 130.5 kB / 423.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.007549, allocations: 43.97 kB / 423.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.00759, allocations: 36.98 kB / 423.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.00762, allocations: 325.1 kB / 423.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.007705, allocations: 67 kB / 423.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.007798, allocations: 114.5 kB / 423.7 MB, free: 7.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.007966, allocations: 149.6 kB / 423.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007969, allocations: 3.938 kB / 423.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000218/0.008187, allocations: 202 kB / 424 MB, free: 7.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.008198, allocations: 5.844 kB / 424 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008202, allocations: 0 / 424 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.008216, allocations: 2.812 kB / 424 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.00835, allocations: 38.66 kB / 424.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.008356, allocations: 6.891 kB / 424.1 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.008446, allocations: 31.28 kB / 424.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.008454, allocations: 3.344 kB / 424.1 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.917e-05/0.008543, allocations: 150.3 kB / 424.2 MB, free: 7.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.864e-05/0.008612, allocations: 102.8 kB / 424.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000111/0.008723, allocations: 117.2 kB / 424.5 MB, free: 7.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.41e-07/0.008723, allocations: 1.344 kB / 424.5 MB, free: 7.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001571/0.00888, allocations: 174.3 kB / 424.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.008886, allocations: 9.203 kB / 424.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-06/0.008887, allocations: 1.125 kB / 424.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/0.00889, allocations: 1.281 kB / 424.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.008995, allocations: 35.17 kB / 424.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.008997, allocations: 1.812 kB / 424.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.00907, allocations: 21.06 kB / 424.7 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.009076, allocations: 8.109 kB / 424.7 MB, free: 7.391 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 4.284e-05/0.009119, allocations: 190.5 kB / 424.9 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.009141, allocations: 16.34 kB / 424.9 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.009544, allocations: 279.3 kB / 425.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.009547, allocations: 6.031 kB / 425.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.009551, allocations: 0 / 425.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.009554, allocations: 2.031 kB / 425.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.009702, allocations: 186.2 kB / 425.4 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.009704, allocations: 5.281 kB / 425.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.009759, allocations: 12.44 kB / 425.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.009983, allocations: 83.38 kB / 425.5 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.009996, allocations: 6.625 kB / 425.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.01109, allocations: 1.708 MB / 427.2 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01109, allocations: 5.812 kB / 427.2 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.01157, allocations: 424.5 kB / 427.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01159, allocations: 23.39 kB / 427.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.01161, allocations: 10.27 kB / 427.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01171, allocations: 20.73 kB / 427.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.01175, allocations: 18.31 kB / 427.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01176, allocations: 3.109 kB / 427.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.0119, allocations: 165.7 kB / 427.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0119, allocations: 0 / 427.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.01213, allocations: 54.77 kB / 427.9 MB, free: 5.113 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.183e-05/0.01221, allocations: 113.3 kB / 428 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.0125, allocations: 200.7 kB / 428.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0125, allocations: 0 / 428.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.01271, allocations: 209.7 kB / 428.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01293, allocations: 38.22 kB / 428.4 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.01342, allocations: 401.1 kB / 428.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.883e-05/0.0135, allocations: 120.8 kB / 428.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.01354, allocations: 17.38 kB / 429 MB, free: 4.445 MB / 330.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01354, allocations: 0 / 429 MB, free: 4.445 MB / 330.7 MB Notification: Performance of Templates: time 0.00359/0.01713, allocations: 2.587 MB / 431.6 MB, free: 4.27 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 -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: 4.534513179212809] Failed to read output from testmodel.py, exit status != 0: 0.022072157822549343 0.029697460000000002 0.02413335 Calling exit ...