Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.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.001392/0.001392, allocations: 84.02 kB / 19.96 MB, free: 1.754 MB / 14.72 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.001708/0.001708, allocations: 162.8 kB / 23.23 MB, free: 4.883 MB / 14.72 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.467/1.467, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.1048/0.1048, allocations: 18.14 MB / 278.1 MB, free: 15.05 MB / 270.1 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.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") translateModel(AES.Coursework.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 415.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.578e-05/3.799e-05, allocations: 6.219 kB / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004857/0.004895, allocations: 2.259 MB / 417.8 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006898, allocations: 0.7829 MB / 418.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.007206, allocations: 11.94 kB / 418.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.007461, allocations: 55.45 kB / 418.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.007659, allocations: 55.41 kB / 418.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.008281, allocations: 183.6 kB / 418.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.008873, allocations: 323.7 kB / 419.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.00918, allocations: 88.84 kB / 419.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.009401, allocations: 103.6 kB / 419.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.009595, allocations: 79.7 kB / 419.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.009661, allocations: 31.94 kB / 419.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.009712, allocations: 24 kB / 419.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.009862, allocations: 63.75 kB / 419.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.009964, allocations: 71.77 kB / 419.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.0105, allocations: 322.8 kB / 420 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01051, allocations: 0 / 420 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01051, allocations: 0 / 420 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.01053, allocations: 0 / 420 MB, free: 14.13 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001138/0.01167, allocations: 0.54 MB / 420.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01171, allocations: 8.922 kB / 420.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.01181, allocations: 44.64 kB / 420.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.01231, allocations: 244.6 kB / 420.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.01233, allocations: 12.88 kB / 420.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.01239, allocations: 28.38 kB / 420.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.01301, allocations: 319 kB / 421.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01303, allocations: 192 / 421.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.01306, allocations: 16.12 kB / 421.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01307, allocations: 4 kB / 421.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.01349, allocations: 157.9 kB / 421.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.01521, allocations: 0.9063 MB / 422.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.01571, allocations: 192.2 kB / 422.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.0159, allocations: 80.73 kB / 422.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.01592, allocations: 0 / 422.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.01596, allocations: 38.56 kB / 422.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.01596, allocations: 0 / 422.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006623/0.01662, allocations: 233.5 kB / 422.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.01676, allocations: 114.7 kB / 422.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.0171, allocations: 272.1 kB / 423.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.01714, allocations: 33.7 kB / 423.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.01733, allocations: 184.3 kB / 423.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.0174, allocations: 63.47 kB / 423.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.01751, allocations: 49.66 kB / 423.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.01771, allocations: 338.8 kB / 423.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.01791, allocations: 68.83 kB / 423.9 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.01819, allocations: 178.1 kB / 424.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.01939, allocations: 323.6 kB / 424.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01939, allocations: 0 / 424.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005835/0.01998, allocations: 252 kB / 424.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.02, allocations: 8 kB / 424.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.02001, allocations: 3.938 kB / 424.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.02003, allocations: 4 kB / 424.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.02023, allocations: 44.14 kB / 424.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.02024, allocations: 11.88 kB / 424.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.02039, allocations: 19.88 kB / 424.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.02041, allocations: 12 kB / 424.7 MB, free: 9.105 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002891/0.0207, allocations: 160.1 kB / 424.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001998/0.0209, allocations: 162.2 kB / 425 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007751/0.02167, allocations: 294.9 kB / 425.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.02167, allocations: 0 / 425.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003945/0.02207, allocations: 233.2 kB / 425.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.02209, allocations: 11.94 kB / 425.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.02209, allocations: 0 / 425.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.0221, allocations: 4 kB / 425.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.02227, allocations: 35.92 kB / 425.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.02227, allocations: 4 kB / 425.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.02241, allocations: 19.89 kB / 425.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.02242, allocations: 8 kB / 425.6 MB, free: 8.133 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (PIp.I.local_reset,S.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001801/0.0226, allocations: 204.8 kB / 425.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.02267, allocations: 27.8 kB / 425.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.02274, allocations: 34.19 kB / 425.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.02275, allocations: 0 / 425.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.02275, allocations: 0 / 425.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.02276, allocations: 4 kB / 425.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.02322, allocations: 245.1 kB / 426.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.02323, allocations: 3.984 kB / 426.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.02343, allocations: 39.92 kB / 426.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.02344, allocations: 3.938 kB / 426.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.02346, allocations: 4 kB / 426.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.02346, allocations: 0 / 426.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02346, allocations: 0 / 426.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.02416, allocations: 377.7 kB / 426.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.02425, allocations: 47.7 kB / 426.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.02429, allocations: 4 kB / 426.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.02444, allocations: 12 kB / 426.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.0245, allocations: 15.97 kB / 426.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.02451, allocations: 0 / 426.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.02471, allocations: 191 kB / 426.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02471, allocations: 0 / 426.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.02512, allocations: 83.78 kB / 426.9 MB, free: 6.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (F.y,S.y,T.y,PIp.I.y) * 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 (17): * Single equations (assignments): 17 * 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.0001339/0.02526, allocations: 107.1 kB / 427 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.02585, allocations: 243.7 kB / 427.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02585, allocations: 0 / 427.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.02611, allocations: 75.91 kB / 427.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.02665, allocations: 81.84 kB / 427.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02765, allocations: 0.4906 MB / 427.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.02782, allocations: 160.8 kB / 428 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.02794, allocations: 30.02 kB / 428.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.02801, allocations: 20.5 kB / 428.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02801, allocations: 0 / 428.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Templates: time 0.007117/0.03513, allocations: 2.684 MB / 430.8 MB, free: 2.953 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.sim & ./AES_AES.Coursework.ElecSys_generator_models.SlidingPressure -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.522275689989328] Failed to read output from testmodel.py, exit status != 0: 0.04454871267080307 0.058371564 0.044720460000000004 Calling exit ...