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.0009155/0.0009155, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009951/0.0009951, allocations: 169 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.018/1.018, allocations: 177.1 MB / 204.2 MB, free: 5.223 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.087/0.087, allocations: 18.14 MB / 278.9 MB, free: 11.15 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.803e-06/1.803e-06, allocations: 3.938 kB / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.938e-05, allocations: 2.312 kB / 357.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.003013/0.003042, allocations: 2.324 MB / 359.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.004326, allocations: 0.8101 MB / 360.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.00452, allocations: 11.94 kB / 360.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.004709, allocations: 51.39 kB / 360.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.004827, allocations: 59.47 kB / 360.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.005266, allocations: 187.6 kB / 360.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.005578, allocations: 319.7 kB / 361 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.005776, allocations: 96.77 kB / 361.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.005888, allocations: 103.6 kB / 361.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.00599, allocations: 79.7 kB / 361.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.006022, allocations: 24 kB / 361.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.006047, allocations: 28 kB / 361.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.006093, allocations: 71.69 kB / 361.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.00615, allocations: 71.77 kB / 361.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.006359, allocations: 207.1 kB / 361.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006362, allocations: 0 / 361.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006363, allocations: 0 / 361.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006368, allocations: 0 / 361.7 MB, free: 3.363 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.0006356/0.007004, allocations: 0.6321 MB / 362.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.007042, allocations: 8.922 kB / 362.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.007116, allocations: 56.7 kB / 362.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.007393, allocations: 259.4 kB / 362.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.007416, allocations: 12.88 kB / 362.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.007447, allocations: 28.38 kB / 362.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.00776, allocations: 299.5 kB / 363 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.00777, allocations: 192 / 363 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.007788, allocations: 12.12 kB / 363 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.007797, allocations: 7.938 kB / 363 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.007916, allocations: 86.88 kB / 363.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.008875, allocations: 1.112 MB / 364.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.009078, allocations: 123.4 kB / 364.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.009141, allocations: 39.67 kB / 364.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.009162, allocations: 7.984 kB / 364.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.009188, allocations: 45.38 kB / 364.4 MB, free: 468 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.009189, allocations: 0 / 364.4 MB, free: 468 kB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002724/0.009461, allocations: 162.4 kB / 364.6 MB, free: 300 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.009504, allocations: 106.8 kB / 364.7 MB, free: 168 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.009692, allocations: 314.2 kB / 365 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.009708, allocations: 25.7 kB / 365 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.009807, allocations: 235 kB / 365.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.009839, allocations: 59.48 kB / 365.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.009892, allocations: 59.17 kB / 365.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01002, allocations: 0.5079 MB / 365.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.01007, allocations: 43.66 kB / 365.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01018, allocations: 161.5 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01037, allocations: 156 kB / 366.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01037, allocations: 0 / 366.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002023/0.01057, allocations: 192.2 kB / 366.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01059, allocations: 8 kB / 366.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01059, allocations: 0 / 366.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01061, allocations: 7.938 kB / 366.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01072, allocations: 39.92 kB / 366.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.01073, allocations: 4 kB / 366.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.0108, allocations: 23.88 kB / 366.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01081, allocations: 4 kB / 366.5 MB, free: 14.22 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.000141/0.01095, allocations: 162.9 kB / 366.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.186e-05/0.01104, allocations: 167.7 kB / 366.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003022/0.01134, allocations: 169.2 kB / 367 MB, free: 13.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-06/0.01135, allocations: 0 / 367 MB, free: 13.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002399/0.01159, allocations: 180.1 kB / 367.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.0116, allocations: 18.73 kB / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.0116, allocations: 0 / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.01161, allocations: 4 kB / 367.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01173, allocations: 35.92 kB / 367.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01174, allocations: 4 kB / 367.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01184, allocations: 19.89 kB / 367.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01185, 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.0001526/0.012, allocations: 288 kB / 367.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.01205, allocations: 43.73 kB / 367.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.0121, allocations: 30.2 kB / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01211, allocations: 3.984 kB / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01211, allocations: 0 / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01212, allocations: 0 / 367.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.01244, allocations: 244.4 kB / 367.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01244, allocations: 0 / 367.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.01254, allocations: 27.98 kB / 367.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01254, allocations: 0 / 367.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01256, allocations: 15.94 kB / 367.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.01256, allocations: 0 / 367.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01256, allocations: 0 / 367.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.01288, allocations: 327.5 kB / 368.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.01295, allocations: 39.72 kB / 368.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01297, allocations: 4 kB / 368.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.01307, allocations: 11.98 kB / 368.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.01311, allocations: 7.984 kB / 368.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.01312, allocations: 8 kB / 368.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.01324, allocations: 211 kB / 368.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01324, allocations: 4 kB / 368.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.0135, allocations: 83.73 kB / 368.6 MB, free: 12.02 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.074e-05/0.01359, allocations: 107.2 kB / 368.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.01394, allocations: 171.1 kB / 368.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01394, allocations: 3.938 kB / 368.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.014, allocations: 56.28 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.0004089/0.01441, allocations: 94.56 kB / 369 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.01503, allocations: 478.5 kB / 369.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.01509, allocations: 84.31 kB / 369.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.097e-05/0.01517, 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.068e-05/0.01522, allocations: 24.5 kB / 369.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01522, allocations: 0 / 369.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Templates: time 0.005204/0.02042, allocations: 2.857 MB / 372.4 MB, free: 8.129 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: 2.89596052095294]