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.001414/0.001414, allocations: 84.23 kB / 20.23 MB, free: 4.176 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.001549/0.001549, allocations: 157.3 kB / 23.53 MB, free: 0.8711 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 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.1082/0.1082, allocations: 18.14 MB / 278.5 MB, free: 11.31 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.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.535e-06/2.535e-06, allocations: 0 / 356.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.325e-05, allocations: 2.312 kB / 356.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004081/0.004114, allocations: 2.266 MB / 358.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.005937, allocations: 0.7868 MB / 359.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.006142, allocations: 15.88 kB / 359.6 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.006354, allocations: 43.47 kB / 359.6 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.006818, allocations: 59.41 kB / 359.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.007386, allocations: 179.6 kB / 359.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.007855, allocations: 331.7 kB / 360.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.00808, allocations: 88.84 kB / 360.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.008237, allocations: 99.62 kB / 360.4 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.008381, allocations: 79.7 kB / 360.4 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.00843, allocations: 24 kB / 360.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.193e-05/0.008472, allocations: 24 kB / 360.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.008542, allocations: 67.69 kB / 360.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.008647, allocations: 75.75 kB / 360.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.009103, allocations: 318.8 kB / 360.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.009106, allocations: 0 / 360.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009107, allocations: 0 / 360.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.009113, allocations: 4 kB / 360.9 MB, free: 4.906 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009957/0.01011, allocations: 0.5283 MB / 361.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.01015, allocations: 12.92 kB / 361.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.01027, allocations: 56.7 kB / 361.5 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.01081, allocations: 256.6 kB / 361.8 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.01084, allocations: 20.88 kB / 361.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.0109, allocations: 28.36 kB / 361.8 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.01149, allocations: 311 kB / 362.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01151, allocations: 4.188 kB / 362.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.01154, allocations: 16.12 kB / 362.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01155, allocations: 11.98 kB / 362.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.01197, allocations: 161.8 kB / 362.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.01354, allocations: 0.9063 MB / 363.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.01402, allocations: 182.8 kB / 363.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.01421, allocations: 72.83 kB / 363.5 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.01424, allocations: 7.906 kB / 363.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.01427, allocations: 34.56 kB / 363.5 MB, free: 2.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.01427, allocations: 4 kB / 363.5 MB, free: 2.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007008/0.01497, allocations: 259.4 kB / 363.8 MB, free: 1.898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.01506, allocations: 102.8 kB / 363.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.01538, allocations: 264.1 kB / 364.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.01541, allocations: 29.7 kB / 364.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.01559, allocations: 184.3 kB / 364.4 MB, free: 1.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.01566, allocations: 67.42 kB / 364.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.01575, allocations: 49.66 kB / 364.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.01596, allocations: 338.8 kB / 364.8 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.01614, allocations: 68.83 kB / 364.9 MB, free: 0.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.01642, allocations: 182.1 kB / 365 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.01744, allocations: 333.7 kB / 365.4 MB, free: 200 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.01744, allocations: 3.984 kB / 365.4 MB, free: 196 kB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005636/0.018, allocations: 256.1 kB / 365.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01802, allocations: 4 kB / 365.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.01803, allocations: 7.938 kB / 365.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.01806, allocations: 0 / 365.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.01828, allocations: 47.91 kB / 365.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01829, allocations: 4 kB / 365.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.01844, allocations: 19.89 kB / 365.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.01847, allocations: 8 kB / 365.7 MB, free: 15.85 MB / 346.7 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.0002995/0.01877, allocations: 168.2 kB / 365.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002178/0.01899, allocations: 159.9 kB / 366 MB, free: 15.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008391/0.01983, allocations: 296.9 kB / 366.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.01983, allocations: 0 / 366.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0004439/0.02027, allocations: 232.1 kB / 366.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.02028, allocations: 7.938 kB / 366.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.02029, allocations: 4 kB / 366.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.02029, allocations: 4.156 kB / 366.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.02048, allocations: 43.92 kB / 366.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.02049, allocations: 4 kB / 366.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.02064, allocations: 27.83 kB / 366.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.02066, allocations: 4 kB / 366.6 MB, free: 14.86 MB / 346.7 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.0004173/0.02107, allocations: 196.2 kB / 366.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.02114, allocations: 31.8 kB / 366.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.02122, allocations: 34.19 kB / 366.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.02123, allocations: 8 kB / 366.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.02123, allocations: 0 / 366.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.02124, allocations: 0 / 366.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.02176, allocations: 249.1 kB / 367.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02176, allocations: 0 / 367.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.02197, allocations: 35.98 kB / 367.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.02197, allocations: 3.938 kB / 367.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.02199, allocations: 3.938 kB / 367.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.02199, allocations: 0 / 367.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02199, allocations: 4 kB / 367.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.02273, allocations: 385.7 kB / 367.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.02282, allocations: 43.73 kB / 367.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.02286, allocations: 4 kB / 367.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.02302, allocations: 11.98 kB / 367.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.02307, allocations: 7.984 kB / 367.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.02309, allocations: 8 kB / 367.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002573/0.02335, allocations: 183.1 kB / 367.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02335, allocations: 8 kB / 367.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004331/0.02378, allocations: 79.78 kB / 367.9 MB, free: 13.54 MB / 346.7 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.000138/0.02392, allocations: 107.1 kB / 368 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.02453, allocations: 243.7 kB / 368.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02453, allocations: 0.625 kB / 368.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.02471, allocations: 83.89 kB / 368.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.02533, allocations: 71.52 kB / 368.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.02637, allocations: 0.4969 MB / 368.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.02655, allocations: 164.8 kB / 369.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.02669, allocations: 34.03 kB / 369.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.02677, allocations: 20.5 kB / 369.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02677, allocations: 0 / 369.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Templates: time 0.007305/0.03407, allocations: 2.691 MB / 371.8 MB, free: 9.641 MB / 346.7 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.608921639970504]