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.001392/0.001392, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001544/0.001544, allocations: 220.4 kB / 23.77 MB, free: 4.422 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.1076/0.1076, allocations: 24.05 MB / 338 MB, free: 11.35 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.002263/0.002263, allocations: 67.91 kB / 475.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 59.57 MB / 0.5221 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.003499/0.3034, allocations: 2.257 MB / 0.5243 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3048, allocations: 0.7882 MB / 0.5251 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.3049, allocations: 14.28 kB / 0.5251 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3051, allocations: 52.58 kB / 0.5252 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3053, allocations: 44.69 kB / 0.5252 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.3058, allocations: 190.3 kB / 0.5254 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3061, allocations: 319 kB / 0.5257 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3063, allocations: 89.12 kB / 0.5258 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3065, allocations: 115.5 kB / 0.5259 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3066, allocations: 105.4 kB / 0.526 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.3066, allocations: 25.09 kB / 0.526 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.3067, allocations: 25.5 kB / 0.526 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.3067, allocations: 65.86 kB / 0.5261 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.3068, allocations: 99.03 kB / 0.5262 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.3072, allocations: 312.9 kB / 0.5265 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3072, allocations: 0 / 0.5265 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3072, allocations: 1 kB / 0.5265 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3072, allocations: 7.938 kB / 0.5265 GB, free: 7.566 MB / 382.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.0007995/0.308, allocations: 0.5356 MB / 0.527 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3081, allocations: 9.609 kB / 0.527 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.3081, allocations: 38.77 kB / 0.5271 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3085, allocations: 255.7 kB / 0.5273 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3086, allocations: 18.81 kB / 0.5273 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.3086, allocations: 22.88 kB / 0.5273 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3091, allocations: 314.9 kB / 0.5276 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3091, allocations: 7.875 kB / 0.5277 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3092, allocations: 15 kB / 0.5277 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3092, allocations: 5.75 kB / 0.5277 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.3095, allocations: 156.8 kB / 0.5278 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3108, allocations: 0.9012 MB / 0.5287 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.3112, allocations: 183 kB / 0.5289 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.3114, allocations: 74.06 kB / 0.5289 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3114, allocations: 2.562 kB / 0.5289 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3114, allocations: 36.67 kB / 0.529 GB, free: 5.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3114, allocations: 0 / 0.529 GB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005717/0.312, allocations: 256.2 kB / 0.5292 GB, free: 5.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.312, allocations: 105.1 kB / 0.5293 GB, free: 5.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3123, allocations: 266 kB / 0.5296 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3123, allocations: 26.77 kB / 0.5296 GB, free: 5.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.3124, allocations: 186 kB / 0.5298 GB, free: 5.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3124, allocations: 69.25 kB / 0.5299 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.3125, allocations: 49.23 kB / 0.5299 GB, free: 5.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.3125, allocations: 337.9 kB / 0.5302 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3127, allocations: 68.84 kB / 0.5303 GB, free: 4.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3129, allocations: 179.3 kB / 0.5305 GB, free: 4.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.3138, allocations: 323.2 kB / 0.5308 GB, free: 4.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3138, allocations: 5 kB / 0.5308 GB, free: 4.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004336/0.3142, allocations: 248.9 kB / 0.531 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3142, allocations: 6 kB / 0.531 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3142, allocations: 5.156 kB / 0.531 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3142, allocations: 5.312 kB / 0.531 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3144, allocations: 46.34 kB / 0.5311 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3145, allocations: 6.5 kB / 0.5311 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3146, allocations: 24.47 kB / 0.5311 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3146, allocations: 10.38 kB / 0.5311 GB, free: 4.258 MB / 382.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.0002313/0.3148, allocations: 164.1 kB / 0.5313 GB, free: 4.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001459/0.315, allocations: 171.7 kB / 0.5314 GB, free: 3.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006935/0.3157, allocations: 301.7 kB / 0.5317 GB, free: 3.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.3157, allocations: 1.188 kB / 0.5317 GB, free: 3.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003464/0.316, allocations: 224.2 kB / 0.5319 GB, free: 3.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.316, allocations: 9.172 kB / 0.5319 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.316, allocations: 2.719 kB / 0.5319 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.316, allocations: 6.75 kB / 0.5319 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3162, allocations: 39.44 kB / 0.532 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3162, allocations: 2.875 kB / 0.532 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3163, allocations: 20.3 kB / 0.532 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3164, allocations: 5.5 kB / 0.532 GB, free: 3.688 MB / 382.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.541e-05/0.3165, allocations: 204.6 kB / 0.5322 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.3165, allocations: 23.92 kB / 0.5322 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.3166, allocations: 36.94 kB / 0.5323 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3166, allocations: 2.156 kB / 0.5323 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3166, allocations: 1.281 kB / 0.5323 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3166, allocations: 1.312 kB / 0.5323 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.317, allocations: 246.6 kB / 0.5325 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.317, allocations: 1.188 kB / 0.5325 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.3172, allocations: 29.11 kB / 0.5325 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3172, allocations: 1.062 kB / 0.5325 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3172, allocations: 5.625 kB / 0.5325 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3172, allocations: 1.094 kB / 0.5325 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3172, allocations: 6.062 kB / 0.5325 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.3178, allocations: 377.4 kB / 0.5329 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.3179, allocations: 42.38 kB / 0.5329 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3179, allocations: 6.906 kB / 0.533 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3181, allocations: 14.75 kB / 0.533 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3181, allocations: 15.16 kB / 0.533 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3181, allocations: 7.031 kB / 0.533 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3183, allocations: 189.5 kB / 0.5332 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3183, allocations: 0 / 0.5332 GB, free: 2.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000409/0.3187, allocations: 87 kB / 0.5333 GB, free: 2.855 MB / 382.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 9.035e-05/0.3188, allocations: 102 kB / 0.5333 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.3194, allocations: 243.8 kB / 0.5336 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3194, allocations: 0.5312 kB / 0.5336 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3196, allocations: 78.86 kB / 0.5337 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.3201, allocations: 88.11 kB / 0.5337 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.3211, allocations: 0.5446 MB / 0.5343 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.3212, allocations: 161.5 kB / 0.5344 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.3213, allocations: 21.89 kB / 0.5344 GB, free: 2.164 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3213, allocations: 1.219 kB / 0.5345 GB, free: 2.164 MB / 382.1 MB Notification: Performance of Templates: time 0.005625/0.3269, allocations: 3.26 MB / 0.5376 GB, free: 1.852 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.256482538301498] Failed to read output from testmodel.py, exit status != 0: 0.3352765110321343 0.348712649 0.038289041 Calling exit ...