Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.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.001656/0.001656, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001994/0.001994, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.1079/0.1079, allocations: 24.12 MB / 337.3 MB, free: 11.46 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") [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.002304/0.002304, allocations: 71.89 kB / 475.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3308, allocations: 59.6 MB / 0.5224 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.003177/0.334, allocations: 1.857 MB / 0.5242 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3352, allocations: 0.6425 MB / 0.5248 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3353, allocations: 3.188 kB / 0.5248 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3356, allocations: 31.16 kB / 0.5249 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.3358, allocations: 43.84 kB / 0.5249 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.3361, allocations: 113.6 kB / 0.525 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.3365, allocations: 246.4 kB / 0.5253 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3366, allocations: 50.12 kB / 0.5253 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3367, allocations: 85.14 kB / 0.5254 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.3369, allocations: 102.7 kB / 0.5255 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.337, allocations: 16.62 kB / 0.5255 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.337, allocations: 20.94 kB / 0.5255 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.3371, allocations: 58.27 kB / 0.5256 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.3372, allocations: 75.88 kB / 0.5256 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3374, allocations: 192.5 kB / 0.5258 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3374, allocations: 0 / 0.5258 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3374, allocations: 3.938 kB / 0.5258 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3375, allocations: 1.062 kB / 0.5258 GB, free: 8.684 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001069/0.3385, allocations: 453.9 kB / 0.5263 GB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3386, allocations: 9.359 kB / 0.5263 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.3386, allocations: 31.77 kB / 0.5263 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.3391, allocations: 216.8 kB / 0.5265 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3391, allocations: 10.39 kB / 0.5265 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.3392, allocations: 12.28 kB / 0.5265 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.3395, allocations: 170.6 kB / 0.5267 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3395, allocations: 4 kB / 0.5267 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.3395, allocations: 5.094 kB / 0.5267 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3395, allocations: 3.062 kB / 0.5267 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.3398, allocations: 122.6 kB / 0.5268 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.3408, allocations: 0.4996 MB / 0.5273 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.3414, allocations: 177.2 kB / 0.5275 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3415, allocations: 71.28 kB / 0.5276 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.3415, allocations: 5.031 kB / 0.5276 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.3415, allocations: 32.78 kB / 0.5276 GB, free: 7.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3415, allocations: 0 / 0.5276 GB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001606/0.3432, allocations: 466 kB / 0.528 GB, free: 7.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3432, allocations: 80.17 kB / 0.5281 GB, free: 7.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.3435, allocations: 217.1 kB / 0.5283 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3436, allocations: 26.83 kB / 0.5283 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.3436, allocations: 136.1 kB / 0.5285 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3437, allocations: 52.25 kB / 0.5285 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.3437, allocations: 32.08 kB / 0.5286 GB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.3438, allocations: 331.6 kB / 0.5289 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3439, allocations: 63.41 kB / 0.5289 GB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3441, allocations: 95.27 kB / 0.529 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.3443, allocations: 137.3 kB / 0.5292 GB, free: 6.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3443, allocations: 0 / 0.5292 GB, free: 6.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003335/0.3446, allocations: 189.7 kB / 0.5293 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3447, allocations: 9.531 kB / 0.5293 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3447, allocations: 1.703 kB / 0.5293 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3447, allocations: 1.125 kB / 0.5293 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3449, allocations: 47.22 kB / 0.5294 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3449, allocations: 1.625 kB / 0.5294 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.3451, allocations: 24.5 kB / 0.5294 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3451, allocations: 11.22 kB / 0.5294 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001303/0.3453, allocations: 144.8 kB / 0.5296 GB, free: 6.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001003/0.3454, allocations: 89.23 kB / 0.5296 GB, free: 6.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001659/0.3455, allocations: 123.4 kB / 0.5298 GB, free: 6.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.3455, allocations: 0 / 0.5298 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002647/0.3458, allocations: 162.7 kB / 0.5299 GB, free: 6.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3458, allocations: 6.641 kB / 0.5299 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.3458, allocations: 0 / 0.5299 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-06/0.3458, allocations: 5.406 kB / 0.5299 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.346, allocations: 39.64 kB / 0.53 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.346, allocations: 1.984 kB / 0.53 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3462, allocations: 27.75 kB / 0.53 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3462, allocations: 4.938 kB / 0.53 GB, free: 6.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.64e-05/0.3463, allocations: 190.7 kB / 0.5302 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3463, allocations: 14.59 kB / 0.5302 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/0.347, allocations: 286.9 kB / 0.5305 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.347, allocations: 1.438 kB / 0.5305 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.347, allocations: 1.344 kB / 0.5305 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.347, allocations: 0.75 kB / 0.5305 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.3473, allocations: 238.2 kB / 0.5307 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3473, allocations: 3.938 kB / 0.5307 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.932e-05/0.3474, allocations: 16.45 kB / 0.5307 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003675/0.3478, allocations: 84.89 kB / 0.5308 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3478, allocations: 1.828 kB / 0.5308 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.3496, allocations: 1.734 MB / 0.5325 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3496, allocations: 1.125 kB / 0.5325 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.3504, allocations: 442 kB / 0.5329 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.3505, allocations: 19.41 kB / 0.5329 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3505, allocations: 6.516 kB / 0.5329 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3507, allocations: 23.5 kB / 0.533 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.3508, allocations: 14.5 kB / 0.533 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3508, allocations: 4 kB / 0.533 GB, free: 3.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.3511, allocations: 169.3 kB / 0.5331 GB, free: 3.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3511, allocations: 0 / 0.5331 GB, free: 3.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.3515, allocations: 54.08 kB / 0.5332 GB, free: 3.715 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.3517, allocations: 115.8 kB / 0.5333 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.3522, allocations: 200.6 kB / 0.5335 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3522, allocations: 0.5 kB / 0.5335 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.3526, allocations: 204.7 kB / 0.5337 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3529, allocations: 42.41 kB / 0.5337 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.3536, allocations: 429.3 kB / 0.5341 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3538, allocations: 0.7331 MB / 0.5349 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.3539, allocations: 14.72 kB / 0.5349 GB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3539, allocations: 4 kB / 0.5349 GB, free: 2.391 MB / 382.1 MB Notification: Performance of Templates: time 0.005889/0.3598, allocations: 2.492 MB / 0.5373 GB, free: 2.207 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_below_limit.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_below_limit -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.845169636886567] Failed to read output from testmodel.py, exit status != 0: 0.3695617439225316 0.38401109800000005 0.043220877000000005 Calling exit ...