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.001023/0.001023, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001014/0.001014, allocations: 165 kB / 23.82 MB, free: 0.75 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.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.0863/0.0863, allocations: 18.13 MB / 278.9 MB, free: 11.14 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.054e-06/2.054e-06, allocations: 3.938 kB / 357.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.332e-05, allocations: 2.312 kB / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004401/0.004434, allocations: 2.323 MB / 359.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.006315, allocations: 0.8102 MB / 360.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.006585, allocations: 15.88 kB / 360.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.006817, allocations: 51.39 kB / 360.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.007005, allocations: 51.48 kB / 360.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.007597, allocations: 187.6 kB / 360.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.008108, allocations: 323.7 kB / 361 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.008388, allocations: 92.77 kB / 361.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.00858, allocations: 111.5 kB / 361.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.008735, allocations: 79.7 kB / 361.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.008787, allocations: 24 kB / 361.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.008827, allocations: 28 kB / 361.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.008892, allocations: 59.7 kB / 361.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.008982, allocations: 75.77 kB / 361.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.009321, allocations: 211.1 kB / 361.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.009324, allocations: 0 / 361.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.009326, allocations: 0 / 361.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.009332, allocations: 0 / 361.7 MB, free: 3.359 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.0008915/0.01022, allocations: 0.6205 MB / 362.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.01027, allocations: 16.86 kB / 362.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.01038, allocations: 56.7 kB / 362.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.01081, allocations: 263.4 kB / 362.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.01085, allocations: 16.88 kB / 362.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.01092, allocations: 24.38 kB / 362.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.01147, allocations: 299.5 kB / 363 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01148, allocations: 192 / 363 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.01152, allocations: 16.12 kB / 363 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.01153, allocations: 7.938 kB / 363 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.01177, allocations: 82.88 kB / 363.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.01358, allocations: 1.112 MB / 364.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.01393, allocations: 119.4 kB / 364.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.01403, allocations: 43.67 kB / 364.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.01407, allocations: 4 kB / 364.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.01411, allocations: 37.38 kB / 364.4 MB, free: 476 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 5.46e-06/0.01412, allocations: 7.984 kB / 364.4 MB, free: 468 kB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000428/0.01455, allocations: 157.4 kB / 364.6 MB, free: 304 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.01462, allocations: 110.8 kB / 364.7 MB, free: 168 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.01495, allocations: 314.2 kB / 365 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.01497, allocations: 29.7 kB / 365 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.01513, allocations: 235 kB / 365.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.01518, allocations: 63.48 kB / 365.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.01527, allocations: 55.17 kB / 365.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01544, allocations: 0.5079 MB / 365.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.01553, allocations: 39.66 kB / 365.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.01568, allocations: 168.3 kB / 366.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.01596, allocations: 156.1 kB / 366.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01596, allocations: 3.938 kB / 366.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003197/0.01628, allocations: 184.1 kB / 366.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.0163, allocations: 14.53 kB / 366.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01631, allocations: 0 / 366.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.01633, allocations: 7.938 kB / 366.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.01651, allocations: 43.92 kB / 366.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.01653, allocations: 7.984 kB / 366.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.01664, allocations: 15.89 kB / 366.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.01666, allocations: 8 kB / 366.5 MB, free: 14.21 MB / 298.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.0002052/0.01686, allocations: 162.8 kB / 366.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001353/0.017, allocations: 160.9 kB / 366.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002421/0.01724, allocations: 157.2 kB / 367 MB, free: 13.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.01724, allocations: 3.938 kB / 367 MB, free: 13.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002829/0.01752, allocations: 179.9 kB / 367.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01754, allocations: 16.12 kB / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.01754, allocations: 0 / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.01755, allocations: 4 kB / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01767, allocations: 39.92 kB / 367.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01768, allocations: 4 kB / 367.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.01775, allocations: 19.89 kB / 367.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.01776, allocations: 8 kB / 367.2 MB, free: 13.4 MB / 298.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.0001207/0.01788, allocations: 292 kB / 367.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.01792, allocations: 39.75 kB / 367.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.01797, allocations: 34.19 kB / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01797, allocations: 0 / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01797, allocations: 0 / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01798, allocations: 0 / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.01825, allocations: 244.4 kB / 367.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01825, allocations: 0 / 367.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.01834, allocations: 31.98 kB / 367.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01834, allocations: 0 / 367.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.01836, allocations: 7.938 kB / 367.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01836, allocations: 4 kB / 367.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01836, allocations: 3.984 kB / 367.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.01867, allocations: 323.6 kB / 368.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.01873, allocations: 39.72 kB / 368.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.01876, allocations: 11.98 kB / 368.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.01883, allocations: 4 kB / 368.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.01887, allocations: 11.98 kB / 368.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01888, allocations: 4 kB / 368.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.01899, allocations: 207 kB / 368.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01899, allocations: 4 kB / 368.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.01923, allocations: 91.73 kB / 368.6 MB, free: 12.01 MB / 298.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 9.003e-05/0.01932, allocations: 103.2 kB / 368.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.01958, allocations: 175.1 kB / 368.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01958, allocations: 0 / 368.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.01965, allocations: 58.09 kB / 368.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.01997, allocations: 88.53 kB / 369 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.02061, allocations: 485 kB / 369.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.02066, allocations: 84.31 kB / 369.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.02073, allocations: 25.94 kB / 369.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.02078, allocations: 24.5 kB / 369.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02079, allocations: 0 / 369.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Templates: time 0.004546/0.02533, allocations: 2.702 MB / 372.3 MB, free: 8.285 MB / 298.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: 3.1046455251052976]