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.0009608/0.0009608, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001127/0.001127, allocations: 177 kB / 24.17 MB, free: 332 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.018/1.018, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.06556/0.06556, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.382e-06/1.382e-06, allocations: 0 / 304.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.041e-05, allocations: 2.312 kB / 304.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004166/0.004186, allocations: 2.348 MB / 306.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.005696, allocations: 0.8226 MB / 307.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.00587, allocations: 19.56 kB / 307.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.006029, allocations: 47.27 kB / 307.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.006183, allocations: 56.42 kB / 307.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.006597, allocations: 182.8 kB / 308 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.006901, allocations: 325.1 kB / 308.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.007073, allocations: 103.6 kB / 308.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.007179, allocations: 104.1 kB / 308.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.007288, allocations: 78.77 kB / 308.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.007319, allocations: 24 kB / 308.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.007348, allocations: 28 kB / 308.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.007394, allocations: 64.62 kB / 308.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.007451, allocations: 76.98 kB / 308.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.007668, allocations: 206.8 kB / 309 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00767, allocations: 0 / 309 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007671, allocations: 0.5625 kB / 309 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.007675, allocations: 4 kB / 309 MB, free: 13.41 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.0005277/0.008203, allocations: 0.5074 MB / 309.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.008235, allocations: 8.922 kB / 309.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.008294, allocations: 40.05 kB / 309.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.008553, allocations: 240.6 kB / 309.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.008577, allocations: 20.81 kB / 309.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.008608, allocations: 20.38 kB / 309.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.008879, allocations: 271.7 kB / 310.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.00889, allocations: 4.125 kB / 310.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.008905, allocations: 8.125 kB / 310.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.008914, allocations: 8 kB / 310.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.008992, allocations: 63.39 kB / 310.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.009714, allocations: 0.7505 MB / 310.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.009851, allocations: 95.39 kB / 311 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.00989, allocations: 32.84 kB / 311.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.009906, allocations: 4 kB / 311.1 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.009929, allocations: 38.56 kB / 311.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.00993, allocations: 3.938 kB / 311.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001738/0.0101, allocations: 111.6 kB / 311.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.01014, allocations: 106.8 kB / 311.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01029, allocations: 258.9 kB / 311.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.0103, allocations: 29.7 kB / 311.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.01037, allocations: 156.8 kB / 311.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.0104, allocations: 67.42 kB / 311.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.01045, allocations: 45.67 kB / 311.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.01054, allocations: 346.7 kB / 312.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.01057, allocations: 24.84 kB / 312.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.01065, allocations: 123.1 kB / 312.4 MB, free: 9.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.01078, allocations: 133.1 kB / 312.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01078, allocations: 0 / 312.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000143/0.01093, allocations: 145.4 kB / 312.6 MB, free: 9.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.01094, allocations: 4 kB / 312.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01094, allocations: 4 kB / 312.6 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.01095, allocations: 0 / 312.6 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01106, allocations: 40.14 kB / 312.7 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01107, allocations: 11.94 kB / 312.7 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.01113, allocations: 27.83 kB / 312.7 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.01114, allocations: 4 kB / 312.7 MB, free: 9.477 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 0.000114/0.01125, allocations: 109.3 kB / 312.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.139e-05/0.01132, allocations: 123.7 kB / 312.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001107/0.01143, allocations: 131.5 kB / 313.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.01143, allocations: 4 kB / 313.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0001252/0.01156, allocations: 129.4 kB / 313.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.01157, allocations: 7.984 kB / 313.2 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.01157, allocations: 0 / 313.2 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/0.01157, allocations: 4 kB / 313.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.01165, allocations: 39.98 kB / 313.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01166, allocations: 8.094 kB / 313.3 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.01172, allocations: 19.89 kB / 313.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.01172, allocations: 11.94 kB / 313.3 MB, free: 8.844 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 8.959e-05/0.01181, allocations: 196.2 kB / 313.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01184, allocations: 23.92 kB / 313.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.01189, allocations: 34.19 kB / 313.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01189, allocations: 0 / 313.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01189, allocations: 0 / 313.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01189, allocations: 4 kB / 313.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.01212, allocations: 181.6 kB / 313.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01213, allocations: 3.938 kB / 313.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.01222, allocations: 27.98 kB / 313.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01222, allocations: 0 / 313.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01224, allocations: 11.98 kB / 313.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01224, allocations: 3.984 kB / 313.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01224, allocations: 0 / 313.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01244, allocations: 237.3 kB / 314 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.01248, allocations: 31.75 kB / 314 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.0125, allocations: 7.984 kB / 314 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.973e-05/0.01256, allocations: 8 kB / 314.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.01259, allocations: 7.984 kB / 314.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01259, allocations: 4 kB / 314.1 MB, free: 8.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.01265, allocations: 92.62 kB / 314.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 314.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.01285, allocations: 87.73 kB / 314.2 MB, free: 7.859 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 7.087e-05/0.01292, allocations: 80.41 kB / 314.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.0131, allocations: 160.8 kB / 314.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.01311, allocations: 0 / 314.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.01315, allocations: 47.27 kB / 314.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01339, allocations: 70.67 kB / 314.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.01389, allocations: 478.4 kB / 315.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01394, allocations: 84.31 kB / 315.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.01401, allocations: 29.94 kB / 315.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.01414, allocations: 103.3 kB / 315.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01414, allocations: 0 / 315.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of Templates: time 0.005364/0.0195, allocations: 2.921 MB / 318.2 MB, free: 3.934 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.822406832128763]