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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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=1000,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=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2251/0.2251, allocations: 22.35 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 381.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2963, allocations: 54.94 MB / 436.5 MB, free: 40.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002648/0.299, allocations: 1.827 MB / 438.3 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.2999, allocations: 0.5963 MB / 438.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3, allocations: 2.906 kB / 438.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.3003, allocations: 28.11 kB / 438.9 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3004, allocations: 39.39 kB / 439 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.3007, allocations: 113.6 kB / 439.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.3009, allocations: 215.5 kB / 439.3 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.301, allocations: 57.67 kB / 439.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.3011, allocations: 80.14 kB / 439.4 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.3012, allocations: 94.66 kB / 439.5 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.3013, allocations: 16.97 kB / 439.5 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.3013, allocations: 17.09 kB / 439.5 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.3014, allocations: 65.12 kB / 439.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.688e-05/0.3015, allocations: 73.69 kB / 439.7 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3016, allocations: 179.7 kB / 439.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3016, allocations: 2.875 kB / 439.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3017, allocations: 0 / 439.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3017, allocations: 0 / 439.9 MB, free: 37.99 MB / 350.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.0008577/0.3025, allocations: 0.512 MB / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.3026, allocations: 8.594 kB / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.3026, allocations: 22.84 kB / 440.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.303, allocations: 276.6 kB / 440.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.303, allocations: 11.39 kB / 440.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.3031, allocations: 12.84 kB / 440.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.3033, allocations: 174.3 kB / 440.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3033, allocations: 2.594 kB / 440.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3034, allocations: 4 kB / 440.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3034, allocations: 2.594 kB / 440.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3036, allocations: 127.6 kB / 441 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.3043, allocations: 0.5396 MB / 441.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.3048, allocations: 181.9 kB / 441.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3049, allocations: 71.81 kB / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.305, allocations: 10.67 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.305, allocations: 34.56 kB / 441.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.305, allocations: 0 / 441.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001404/0.3064, allocations: 0.5304 MB / 442.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.3064, allocations: 79.95 kB / 442.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3067, allocations: 215.5 kB / 442.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3067, allocations: 25.7 kB / 442.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.3068, allocations: 132.7 kB / 442.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3068, allocations: 42.53 kB / 442.8 MB, free: 36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3069, allocations: 33.06 kB / 442.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.3069, allocations: 332.2 kB / 443.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3071, allocations: 66.23 kB / 443.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3072, allocations: 94.06 kB / 443.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3074, allocations: 138.6 kB / 443.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3074, allocations: 0 / 443.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000275/0.3077, allocations: 199.9 kB / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3077, allocations: 6.344 kB / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3077, allocations: 0 / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3077, allocations: 2.812 kB / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.308, allocations: 38.64 kB / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.308, allocations: 0 / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3082, allocations: 31.5 kB / 443.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3082, allocations: 9.75 kB / 443.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001073/0.3083, allocations: 145.2 kB / 443.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.81e-05/0.3084, allocations: 81.52 kB / 444 MB, free: 35.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001299/0.3085, allocations: 116.5 kB / 444.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.3085, allocations: 0 / 444.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001904/0.3087, allocations: 173 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/0.3087, allocations: 5.469 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.3087, allocations: 3.938 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-06/0.3087, allocations: 2.688 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3089, allocations: 39.36 kB / 444.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-06/0.3089, allocations: 0 / 444.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3091, allocations: 22.34 kB / 444.4 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.3091, allocations: 2.688 kB / 444.4 MB, free: 35.1 MB / 350.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 5.935e-05/0.3092, allocations: 195.8 kB / 444.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.3092, allocations: 16.91 kB / 444.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.3098, allocations: 283.1 kB / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3098, allocations: 2.906 kB / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3098, allocations: 0 / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3098, allocations: 0 / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.31, allocations: 273.8 kB / 445.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.31, allocations: 19.16 kB / 445.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.3101, allocations: 12.19 kB / 445.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.3104, allocations: 82.59 kB / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3105, allocations: 6.969 kB / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.312, allocations: 1.824 MB / 447.1 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.312, allocations: 0 / 447.1 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.3126, allocations: 456.6 kB / 447.5 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.3127, allocations: 88.17 kB / 447.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3127, allocations: 14.06 kB / 447.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3129, allocations: 18.8 kB / 447.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.3129, allocations: 13.09 kB / 447.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.313, allocations: 6.938 kB / 447.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.3132, allocations: 171.6 kB / 447.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3132, allocations: 0 / 447.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.3135, allocations: 54.28 kB / 447.9 MB, free: 32.46 MB / 350.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 7.88e-05/0.3136, allocations: 104.5 kB / 448 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.314, allocations: 216.5 kB / 448.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.314, allocations: 0 / 448.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.3142, allocations: 207.5 kB / 448.4 MB, free: 32.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3146, allocations: 39.17 kB / 448.4 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.3151, allocations: 404.3 kB / 448.8 MB, free: 31.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.3153, allocations: 0.7336 MB / 449.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.33e-05/0.3154, allocations: 39.22 kB / 449.6 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.3154, allocations: 13.53 kB / 449.6 MB, free: 31.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3154, allocations: 0 / 449.6 MB, free: 31.19 MB / 350.1 MB Notification: Performance of Templates: time 0.00435/0.3198, allocations: 2.45 MB / 452 MB, free: 31.02 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile (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)