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.0007096/0.0007096, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001771, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000698/0.000698, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001759, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09332/1.098, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.06374/0.06374, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01098/0.07472, allocations: 6.789 MB / 269.1 MB, free: 6.23 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.433e-06/1.433e-06, allocations: 0 / 270.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.459e-05, allocations: 2.312 kB / 270.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.003284/0.003308, allocations: 2.348 MB / 272.9 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.004731, allocations: 0.8372 MB / 273.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.004884, allocations: 11.94 kB / 273.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.005, allocations: 51.41 kB / 273.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.005098, allocations: 55.42 kB / 273.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.005442, allocations: 179.6 kB / 274 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.005754, allocations: 315.7 kB / 274.3 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.005924, allocations: 99.44 kB / 274.4 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.006134, allocations: 196.1 kB / 274.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.006238, allocations: 71.72 kB / 274.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.006275, allocations: 32 kB / 274.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.006302, allocations: 27.94 kB / 274.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.006354, allocations: 43.81 kB / 274.8 MB, free: 492 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.006413, allocations: 63.75 kB / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.006672, allocations: 187.2 kB / 275 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.006688, allocations: 0 / 275 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00669, allocations: 0 / 275 MB, free: 240 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.006705, allocations: 0 / 275 MB, free: 240 kB / 266.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.1207/0.1274, allocations: 0.5567 MB / 275.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1274, allocations: 10 kB / 275.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.1275, allocations: 44.02 kB / 275.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1278, allocations: 231.6 kB / 275.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1279, allocations: 18.69 kB / 275.9 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.1279, allocations: 23.16 kB / 275.9 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1282, allocations: 268 kB / 276.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1282, allocations: 3.906 kB / 276.2 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1282, allocations: 9.125 kB / 276.2 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1282, allocations: 12.59 kB / 276.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1283, allocations: 58.17 kB / 276.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.1292, allocations: 0.7525 MB / 277 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1294, allocations: 97.86 kB / 277.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.1295, allocations: 29.53 kB / 277.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1295, allocations: 4.188 kB / 277.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1295, allocations: 38.3 kB / 277.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.1295, allocations: 1.344 kB / 277.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002359/0.1297, allocations: 117.9 kB / 277.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.1298, allocations: 57.97 kB / 277.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1299, allocations: 250.6 kB / 277.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1299, allocations: 31.3 kB / 277.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.13, allocations: 158.7 kB / 277.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1301, allocations: 67.28 kB / 277.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1301, allocations: 53.12 kB / 277.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.1302, allocations: 341.9 kB / 278.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.1302, allocations: 23.78 kB / 278.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.1303, allocations: 127.2 kB / 278.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1305, allocations: 138.6 kB / 278.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1305, allocations: 0.9062 kB / 278.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001865/0.1306, allocations: 136.7 kB / 278.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1307, allocations: 8.578 kB / 278.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1307, allocations: 2.25 kB / 278.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1307, allocations: 2.891 kB / 278.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1308, allocations: 46.86 kB / 278.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1308, allocations: 6.094 kB / 278.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.1309, allocations: 25.34 kB / 278.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1309, allocations: 8.438 kB / 278.7 MB, free: 0.6602 MB / 266.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.0001319/0.1311, allocations: 111.5 kB / 278.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.014e-05/0.1311, allocations: 127.5 kB / 279 MB, free: 460 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001411/0.1313, allocations: 135.5 kB / 279.1 MB, free: 408 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.1313, allocations: 0.9688 kB / 279.1 MB, free: 408 kB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0001684/0.1315, allocations: 130.9 kB / 279.2 MB, free: 372 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.1315, allocations: 6.719 kB / 279.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1315, allocations: 3.25 kB / 279.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.1315, allocations: 2.719 kB / 279.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1316, allocations: 47.09 kB / 279.3 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1316, allocations: 6.906 kB / 279.3 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.1317, allocations: 23.92 kB / 279.3 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1317, allocations: 4.531 kB / 279.3 MB, free: 368 kB / 266.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.484e-05/0.1318, allocations: 200.5 kB / 279.5 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.1318, allocations: 20.83 kB / 279.5 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.1319, allocations: 36.83 kB / 279.6 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1319, allocations: 2.719 kB / 279.6 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1319, allocations: 0 / 279.6 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1319, allocations: 1.922 kB / 279.6 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1322, allocations: 173.3 kB / 279.7 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1322, allocations: 4.125 kB / 279.7 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1323, allocations: 35.61 kB / 279.8 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.1323, allocations: 33.8 kB / 279.8 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1323, allocations: 1.672 kB / 279.8 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1324, allocations: 4.969 kB / 279.8 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1324, allocations: 0.5625 kB / 279.8 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1324, allocations: 4.312 kB / 279.8 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1326, allocations: 234.9 kB / 280 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1326, allocations: 3.109 kB / 280 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.1327, allocations: 8.734 kB / 280.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.1328, allocations: 13.44 kB / 280.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1328, allocations: 1.875 kB / 280.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.695e-05/0.1329, allocations: 88.23 kB / 280.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1329, allocations: 3.625 kB / 280.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.1332, allocations: 86.11 kB / 280.2 MB, free: 15.91 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 9.529e-05/0.1333, allocations: 81.12 kB / 280.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1335, allocations: 160.3 kB / 280.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.1335, allocations: 8.547 kB / 280.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.1336, allocations: 49.8 kB / 280.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.1341, allocations: 480.9 kB / 281 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.1349, allocations: 483 kB / 281.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.457e-05/0.135, allocations: 91.23 kB / 281.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1351, allocations: 31.36 kB / 281.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.1353, allocations: 109.5 kB / 281.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1353, allocations: 0 / 281.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Templates: time 0.006283/0.1416, allocations: 3.067 MB / 284.8 MB, free: 14.73 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.802697462029755]