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.001431/0.001431, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001656/0.001656, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.1035/0.1035, allocations: 17.8 MB / 277.6 MB, free: 15.36 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.89 kB / 414.6 MB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 59.55 MB / 474.2 MB, free: 8.863 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.00394/0.141, allocations: 2.27 MB / 476.5 MB, free: 6.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1426, allocations: 0.7754 MB / 477.2 MB, free: 5.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1428, allocations: 11.88 kB / 477.3 MB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.143, allocations: 51.47 kB / 477.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1431, allocations: 47.48 kB / 477.4 MB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.1436, allocations: 191.7 kB / 477.5 MB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.144, allocations: 315.8 kB / 477.8 MB, free: 5.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1442, allocations: 88.83 kB / 477.9 MB, free: 5.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1444, allocations: 115.5 kB / 478 MB, free: 4.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1445, allocations: 107.3 kB / 478.2 MB, free: 4.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.1446, allocations: 28 kB / 478.2 MB, free: 4.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.1446, allocations: 24 kB / 478.2 MB, free: 4.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1447, allocations: 67.69 kB / 478.3 MB, free: 4.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1448, allocations: 95.41 kB / 478.4 MB, free: 4.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1452, allocations: 318.5 kB / 478.7 MB, free: 4.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1452, allocations: 4 kB / 478.7 MB, free: 4.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1452, allocations: 0 / 478.7 MB, free: 4.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1452, allocations: 0 / 478.7 MB, free: 4.348 MB / 446.1 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.0009044/0.1461, allocations: 0.5361 MB / 479.2 MB, free: 3.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1461, allocations: 8.922 kB / 479.2 MB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.1462, allocations: 36.7 kB / 479.3 MB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.1467, allocations: 257.3 kB / 479.5 MB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1467, allocations: 16.88 kB / 479.5 MB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1467, allocations: 24.38 kB / 479.5 MB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.1473, allocations: 318.5 kB / 479.9 MB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1473, allocations: 0 / 479.9 MB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.1473, allocations: 12 kB / 479.9 MB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.1473, allocations: 4 kB / 479.9 MB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.1477, allocations: 165.8 kB / 480 MB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1491, allocations: 0.8985 MB / 480.9 MB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.1495, allocations: 182.9 kB / 481.1 MB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1497, allocations: 72.83 kB / 481.2 MB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1497, allocations: 4 kB / 481.2 MB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1497, allocations: 42.5 kB / 481.2 MB, free: 1.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.1497, allocations: 0 / 481.2 MB, free: 1.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005998/0.1503, allocations: 260.2 kB / 481.5 MB, free: 1.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.1504, allocations: 106.8 kB / 481.6 MB, free: 1.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.1507, allocations: 256.2 kB / 481.8 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1507, allocations: 29.7 kB / 481.9 MB, free: 0.9531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1509, allocations: 188.3 kB / 482.1 MB, free: 0.7656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.1509, allocations: 71.34 kB / 482.1 MB, free: 0.6953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.151, allocations: 49.7 kB / 482.2 MB, free: 0.6406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1511, allocations: 334.8 kB / 482.5 MB, free: 312 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1513, allocations: 68.83 kB / 482.6 MB, free: 240 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.1516, allocations: 189 kB / 482.7 MB, free: 16 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2736/0.4252, allocations: 318.9 kB / 483.1 MB, free: 52.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4252, allocations: 7.312 kB / 483.1 MB, free: 52.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000473/0.4257, allocations: 245.2 kB / 483.3 MB, free: 52.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4257, allocations: 6.438 kB / 483.3 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4257, allocations: 3.188 kB / 483.3 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4257, allocations: 2.781 kB / 483.3 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.4259, allocations: 47.77 kB / 483.4 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4259, allocations: 7.25 kB / 483.4 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4261, allocations: 25.05 kB / 483.4 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.4261, allocations: 7.562 kB / 483.4 MB, free: 52.05 MB / 446.1 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.0002878/0.4264, allocations: 164.7 kB / 483.6 MB, free: 51.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001375/0.4265, allocations: 162.7 kB / 483.7 MB, free: 51.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005924/0.4271, allocations: 291.8 kB / 484 MB, free: 51.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.4271, allocations: 0 / 484 MB, free: 51.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002882/0.4274, allocations: 225.8 kB / 484.2 MB, free: 51.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.4274, allocations: 6.594 kB / 484.2 MB, free: 51.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.4274, allocations: 4.719 kB / 484.2 MB, free: 51.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-06/0.4274, allocations: 6.984 kB / 484.2 MB, free: 51.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4275, allocations: 41.12 kB / 484.3 MB, free: 51.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.4275, allocations: 3.281 kB / 484.3 MB, free: 51.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.4277, allocations: 20.7 kB / 484.3 MB, free: 51.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4277, allocations: 6.938 kB / 484.3 MB, free: 51.76 MB / 446.1 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 9.52e-05/0.4278, allocations: 200.6 kB / 484.5 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.4278, allocations: 35.67 kB / 484.5 MB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.4279, allocations: 34.19 kB / 484.6 MB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4279, allocations: 0 / 484.6 MB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4279, allocations: 3.594 kB / 484.6 MB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4279, allocations: 3.797 kB / 484.6 MB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.4283, allocations: 246.9 kB / 484.8 MB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4283, allocations: 0 / 484.8 MB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4284, allocations: 28.75 kB / 484.9 MB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4284, allocations: 0 / 484.9 MB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.4285, allocations: 19.55 kB / 484.9 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4285, allocations: 0 / 484.9 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4285, allocations: 0 / 484.9 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.429, allocations: 379 kB / 485.2 MB, free: 51.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.429, allocations: 38.09 kB / 485.3 MB, free: 51.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4291, allocations: 10.66 kB / 485.3 MB, free: 51.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4292, allocations: 9.281 kB / 485.3 MB, free: 51.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.4292, allocations: 10.09 kB / 485.3 MB, free: 51.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4292, allocations: 10.38 kB / 485.3 MB, free: 51.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4294, allocations: 182.9 kB / 485.5 MB, free: 51.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4294, allocations: 3.812 kB / 485.5 MB, free: 51.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.4297, allocations: 91.17 kB / 485.6 MB, free: 51.18 MB / 446.1 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 8.295e-05/0.4298, allocations: 107.1 kB / 485.7 MB, free: 51.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.4303, allocations: 235.7 kB / 485.9 MB, free: 51.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4303, allocations: 0 / 485.9 MB, free: 51.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.4304, allocations: 81.52 kB / 486 MB, free: 51.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.4309, allocations: 76.31 kB / 486.1 MB, free: 51.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.4316, allocations: 0.5106 MB / 486.6 MB, free: 50.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4317, allocations: 161.2 kB / 486.8 MB, free: 50.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.4319, allocations: 27.2 kB / 486.8 MB, free: 50.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.4319, allocations: 21.44 kB / 486.8 MB, free: 50.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4319, allocations: 0 / 486.8 MB, free: 50.71 MB / 446.1 MB Notification: Performance of Templates: time 0.005792/0.4377, allocations: 2.689 MB / 489.5 MB, free: 50.45 MB / 446.1 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=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0032786229858175] Failed to read output from testmodel.py, exit status != 0: 0.44650424097198993 0.45485051299999996 0.30748795399999995 Calling exit ...