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.000898/0.000898, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0008973/0.0008973, allocations: 173 kB / 24.17 MB, free: 336 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 1.101/1.101, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.08514/0.08514, allocations: 18.14 MB / 279.2 MB, free: 11.19 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 1.312e-06/1.312e-06, allocations: 0 / 304.5 MB, free: 412 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.891e-05, allocations: 3.469 kB / 304.5 MB, free: 408 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.002686/0.002705, allocations: 2.301 MB / 306.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003855, allocations: 0.8268 MB / 307.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.004012, allocations: 11.56 kB / 307.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.004157, allocations: 49.92 kB / 307.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/0.004252, allocations: 53.62 kB / 307.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.004586, allocations: 187.6 kB / 307.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.004844, allocations: 321.6 kB / 308.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.005004, allocations: 96.52 kB / 308.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.005091, allocations: 106.5 kB / 308.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.00518, allocations: 85.86 kB / 308.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.005209, allocations: 24 kB / 308.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.117e-05/0.005231, allocations: 28 kB / 308.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.005271, allocations: 57.27 kB / 308.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.005325, allocations: 81.11 kB / 308.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.005523, allocations: 202.5 kB / 308.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005524, allocations: 0 / 308.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005525, allocations: 0 / 308.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005528, allocations: 0.7969 kB / 308.9 MB, free: 13.32 MB / 282.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.0005019/0.00603, allocations: 0.515 MB / 309.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.006058, allocations: 8.922 kB / 309.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.006111, allocations: 37.56 kB / 309.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.00633, allocations: 236.3 kB / 309.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.006348, allocations: 12.88 kB / 309.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.006375, allocations: 25.08 kB / 309.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.006608, allocations: 280.1 kB / 310 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.006616, allocations: 192 / 310 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.00663, allocations: 8.125 kB / 310 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006638, allocations: 8 kB / 310 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.006712, allocations: 55.41 kB / 310.1 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.007378, allocations: 0.76 MB / 310.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.007503, allocations: 95.44 kB / 310.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.007537, allocations: 32.86 kB / 311 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.007552, allocations: 7.984 kB / 311 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.007571, allocations: 38.5 kB / 311 MB, free: 11.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.007572, allocations: 0 / 311 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002242/0.007796, allocations: 111.6 kB / 311.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.007836, allocations: 110.8 kB / 311.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.007963, allocations: 246.9 kB / 311.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.007978, allocations: 33.7 kB / 311.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.008036, allocations: 156.8 kB / 311.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.008066, allocations: 67.42 kB / 311.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.008112, allocations: 53.61 kB / 311.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.008188, allocations: 346.7 kB / 312.1 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.00822, allocations: 20.86 kB / 312.1 MB, free: 9.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.008291, allocations: 135 kB / 312.3 MB, free: 9.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.008413, allocations: 121.1 kB / 312.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008415, allocations: 0 / 312.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001275/0.008542, allocations: 137.5 kB / 312.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.008552, allocations: 4 kB / 312.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008557, allocations: 4 kB / 312.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.008566, allocations: 0 / 312.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.008663, allocations: 47.91 kB / 312.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.008667, allocations: 4.688 kB / 312.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.008733, allocations: 23.84 kB / 312.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.008741, allocations: 4.156 kB / 312.6 MB, free: 9.445 MB / 282.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 9.162e-05/0.008833, allocations: 112.8 kB / 312.7 MB, free: 9.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.343e-05/0.008896, allocations: 132.9 kB / 312.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.854e-05/0.008995, allocations: 135.5 kB / 313 MB, free: 9.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.008995, allocations: 0 / 313 MB, free: 9.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000108/0.009103, allocations: 133.5 kB / 313.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/0.009109, allocations: 4 kB / 313.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.00911, allocations: 4 kB / 313.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.009112, allocations: 4 kB / 313.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.009185, allocations: 35.92 kB / 313.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.009188, allocations: 4 kB / 313.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.009242, allocations: 23.88 kB / 313.2 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.009251, allocations: 8 kB / 313.2 MB, free: 8.805 MB / 282.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 (S.local_reset,PIp.I.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 9.473e-05/0.009346, allocations: 196.3 kB / 313.4 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.009373, allocations: 23.98 kB / 313.4 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.00941, allocations: 30.19 kB / 313.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.009411, allocations: 4 kB / 313.5 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.009413, allocations: 0 / 313.5 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009416, allocations: 3.984 kB / 313.5 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.009625, allocations: 185.6 kB / 313.6 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009627, allocations: 3.938 kB / 313.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.009712, allocations: 35.92 kB / 313.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009714, allocations: 0 / 313.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.009722, allocations: 0 / 313.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.009724, allocations: 0 / 313.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.009725, allocations: 4 kB / 313.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.009904, allocations: 225.8 kB / 313.9 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.009949, allocations: 39.72 kB / 313.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.009966, allocations: 11.94 kB / 313.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.01003, allocations: 8 kB / 314 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.01005, allocations: 15.97 kB / 314 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01005, allocations: 0 / 314 MB, free: 7.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.01011, allocations: 88.64 kB / 314.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01011, allocations: 0 / 314.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.01031, allocations: 91.73 kB / 314.1 MB, free: 7.816 MB / 282.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 6.235e-05/0.01037, allocations: 80.45 kB / 314.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.01054, allocations: 157.2 kB / 314.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.01054, allocations: 8.188 kB / 314.4 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.01058, allocations: 44.77 kB / 314.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.0108, allocations: 73.38 kB / 314.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.0114, allocations: 465 kB / 315 MB, free: 6.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.01144, allocations: 88.31 kB / 315 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.744e-05/0.01152, allocations: 29.92 kB / 315.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01164, allocations: 99.33 kB / 315.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01164, allocations: 0 / 315.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of Templates: time 0.004291/0.01594, allocations: 2.934 MB / 318.1 MB, free: 3.887 MB / 282.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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.918122587259859]