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.0009047/0.0009047, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.002639, allocations: 435.8 kB / 10.33 MB, free: 368 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.001152/0.001152, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002578, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9839/0.9839, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08307/1.067, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.06655/0.06655, allocations: 18.12 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01135/0.0779, allocations: 6.774 MB / 268.9 MB, free: 6.367 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.232e-06/1.232e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.393e-05, allocations: 2.312 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.00261/0.002634, allocations: 2.34 MB / 272.7 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003902, allocations: 0.841 MB / 273.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.004127, allocations: 15.88 kB / 273.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.004246, allocations: 51.41 kB / 273.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.004356, allocations: 51.53 kB / 273.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.004712, allocations: 179.6 kB / 273.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.005027, allocations: 319.7 kB / 274.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.0052, allocations: 91.45 kB / 274.2 MB, free: 1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.005422, allocations: 200.1 kB / 274.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.005528, allocations: 79.64 kB / 274.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.005565, allocations: 24 kB / 274.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.005589, allocations: 28 kB / 274.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.005626, allocations: 43.81 kB / 274.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.005684, allocations: 63.75 kB / 274.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.005903, allocations: 183.2 kB / 274.8 MB, free: 400 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.005918, allocations: 0 / 274.8 MB, free: 400 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005919, allocations: 4 kB / 274.8 MB, free: 396 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.005935, allocations: 0 / 274.8 MB, free: 396 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.1245/0.1304, allocations: 0.5556 MB / 275.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1304, allocations: 9.656 kB / 275.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.1305, allocations: 43.72 kB / 275.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1308, allocations: 233.1 kB / 275.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1308, allocations: 16.62 kB / 275.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.1308, allocations: 22.97 kB / 275.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1311, allocations: 269.4 kB / 275.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1311, allocations: 4.266 kB / 275.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1311, allocations: 14.12 kB / 276 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1312, allocations: 9.094 kB / 276 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.1312, allocations: 54.58 kB / 276 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.1321, allocations: 0.7525 MB / 276.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1322, allocations: 93.06 kB / 276.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.1323, allocations: 33.47 kB / 276.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1323, allocations: 3.688 kB / 276.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.1323, allocations: 36.56 kB / 276.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.695e-06/0.1323, allocations: 0 / 276.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002085/0.1325, allocations: 117.2 kB / 277 MB, free: 1.715 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.1326, allocations: 55 kB / 277.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1327, allocations: 246.3 kB / 277.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1327, allocations: 30.91 kB / 277.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1328, allocations: 165.1 kB / 277.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1328, allocations: 67.84 kB / 277.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.1329, allocations: 48.77 kB / 277.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.1329, allocations: 346.9 kB / 278 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.1329, allocations: 23.48 kB / 278 MB, free: 1.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.133, allocations: 128.5 kB / 278.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1332, allocations: 138 kB / 278.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1332, allocations: 0.6562 kB / 278.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001588/0.1333, allocations: 129.9 kB / 278.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1333, allocations: 8.281 kB / 278.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1333, allocations: 2.672 kB / 278.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1334, allocations: 2.438 kB / 278.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1335, allocations: 51.41 kB / 278.5 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1335, allocations: 4.109 kB / 278.5 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1336, allocations: 25.92 kB / 278.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1336, allocations: 3.531 kB / 278.5 MB, free: 0.8008 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.0001239/0.1337, allocations: 115.2 kB / 278.6 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.579e-05/0.1338, allocations: 131.5 kB / 278.7 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001056/0.1339, allocations: 128.2 kB / 278.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.1339, allocations: 3.281 kB / 278.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0001396/0.134, allocations: 133.1 kB / 279 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.134, allocations: 5.281 kB / 279 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.134, allocations: 1.312 kB / 279 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.134, allocations: 3.312 kB / 279 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.1341, allocations: 46.61 kB / 279 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1341, allocations: 4.109 kB / 279 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.1342, allocations: 19.53 kB / 279.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1342, allocations: 7.969 kB / 279.1 MB, free: 0.5 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: 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 7.268e-05/0.1342, allocations: 203.7 kB / 279.3 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1343, allocations: 23.17 kB / 279.3 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1343, allocations: 30.98 kB / 279.3 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1343, allocations: 2.688 kB / 279.3 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1343, allocations: 1.531 kB / 279.3 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1343, allocations: 8.969 kB / 279.3 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1346, allocations: 169.9 kB / 279.5 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1346, allocations: 0 / 279.5 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.1347, allocations: 40.08 kB / 279.5 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1347, allocations: 33.95 kB / 279.6 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1347, allocations: 2.594 kB / 279.6 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1347, allocations: 4.469 kB / 279.6 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1347, allocations: 1.812 kB / 279.6 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1347, allocations: 0.5938 kB / 279.6 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1349, allocations: 238.2 kB / 279.8 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.1349, allocations: 5.375 kB / 279.8 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.135, allocations: 10.14 kB / 279.8 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.135, allocations: 9.453 kB / 279.8 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.135, allocations: 2.766 kB / 279.8 MB, free: 76 kB / 266.7 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.1351, allocations: 90.48 kB / 279.9 MB, free: 64 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1351, allocations: 0 / 279.9 MB, free: 64 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.1353, allocations: 87.05 kB / 280 MB, free: 48 kB / 266.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.694e-05/0.1354, allocations: 85.5 kB / 280.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1356, allocations: 151.6 kB / 280.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.1356, allocations: 5.812 kB / 280.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.1357, allocations: 45.38 kB / 280.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1359, allocations: 86.05 kB / 280.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007448/0.1367, allocations: 478.8 kB / 280.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.1367, allocations: 95.66 kB / 280.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1369, allocations: 26.44 kB / 281 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.137, allocations: 99.56 kB / 281.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.137, allocations: 0 / 281.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of Templates: time 0.005791/0.1428, allocations: 3.018 MB / 284.1 MB, free: 15.35 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.762850216589868]