Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 102.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09864/0.09864, allocations: 22.69 MB / 327.7 MB, free: 2.867 MB / 254.1 MB [Timeout remaining time 90] 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_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") translateModel(AES.Coursework.Typical_control_structures.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.88 kB / 461.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 58.02 MB / 0.5076 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_within_two_limits): time 0.0034/0.111, allocations: 2.071 MB / 0.5096 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1123, allocations: 0.6897 MB / 0.5103 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1124, allocations: 4 kB / 0.5103 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1127, allocations: 43.66 kB / 0.5103 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1129, allocations: 59.52 kB / 0.5104 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1133, allocations: 175.8 kB / 0.5106 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.1137, allocations: 323.3 kB / 0.5109 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1138, allocations: 80.16 kB / 0.511 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.114, allocations: 119.5 kB / 0.5111 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1142, allocations: 147.3 kB / 0.5112 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.1143, allocations: 28 kB / 0.5112 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.1143, allocations: 28 kB / 0.5113 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1145, allocations: 79.73 kB / 0.5113 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1146, allocations: 127.3 kB / 0.5115 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1149, allocations: 294.7 kB / 0.5117 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1149, allocations: 3.938 kB / 0.5117 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1149, allocations: 0 / 0.5117 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1149, allocations: 0 / 0.5117 GB, free: 0.6445 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.2069/0.3218, allocations: 0.6208 MB / 0.5124 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3219, allocations: 9.219 kB / 0.5124 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.322, allocations: 32.7 kB / 0.5124 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.3225, allocations: 317.7 kB / 0.5127 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3225, allocations: 12.38 kB / 0.5127 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.3226, allocations: 23.88 kB / 0.5127 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.3231, allocations: 253.9 kB / 0.513 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3231, allocations: 0.75 kB / 0.513 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3231, allocations: 8.469 kB / 0.513 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3231, allocations: 8.438 kB / 0.513 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.3235, allocations: 187.5 kB / 0.5132 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3246, allocations: 0.7093 MB / 0.5139 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.3253, allocations: 248.5 kB / 0.5141 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.3255, allocations: 96.2 kB / 0.5142 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3255, allocations: 2.609 kB / 0.5142 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3255, allocations: 38.56 kB / 0.5142 GB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3255, allocations: 1.625 kB / 0.5142 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.002406/0.328, allocations: 0.8106 MB / 0.515 GB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.328, allocations: 106.1 kB / 0.5151 GB, free: 14.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.3283, allocations: 266.1 kB / 0.5154 GB, free: 14.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3283, allocations: 30.3 kB / 0.5154 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3284, allocations: 163.4 kB / 0.5156 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3285, allocations: 65.06 kB / 0.5156 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.3285, allocations: 43.17 kB / 0.5157 GB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.3286, allocations: 338.3 kB / 0.516 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.3287, allocations: 98.08 kB / 0.5161 GB, free: 14.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3289, allocations: 130.3 kB / 0.5162 GB, free: 14.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.3293, allocations: 210.4 kB / 0.5164 GB, free: 14.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3293, allocations: 0 / 0.5164 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004379/0.3297, allocations: 271.3 kB / 0.5167 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3297, allocations: 7.594 kB / 0.5167 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3297, allocations: 0 / 0.5167 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3297, allocations: 4.062 kB / 0.5167 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.33, allocations: 54.52 kB / 0.5167 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.33, allocations: 5.891 kB / 0.5167 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.3303, allocations: 40.98 kB / 0.5168 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3303, allocations: 5.969 kB / 0.5168 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001538/0.3304, allocations: 167.7 kB / 0.5169 GB, free: 14.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001211/0.3306, allocations: 116.8 kB / 0.5171 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001988/0.3308, allocations: 159.3 kB / 0.5172 GB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.3308, allocations: 1.156 kB / 0.5172 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002882/0.331, allocations: 221.2 kB / 0.5174 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.3311, allocations: 7.344 kB / 0.5174 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.3311, allocations: 0 / 0.5174 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.3311, allocations: 6.438 kB / 0.5174 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3313, allocations: 50.31 kB / 0.5175 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3313, allocations: 5.594 kB / 0.5175 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3315, allocations: 30.55 kB / 0.5175 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3315, allocations: 8.406 kB / 0.5175 GB, free: 14.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.495e-05/0.3316, allocations: 188.9 kB / 0.5177 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3317, allocations: 23.92 kB / 0.5177 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009395/0.3326, allocations: 408.2 kB / 0.5181 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3326, allocations: 5.938 kB / 0.5181 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3326, allocations: 1.688 kB / 0.5181 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3326, allocations: 1.844 kB / 0.5181 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3329, allocations: 335.9 kB / 0.5184 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3329, allocations: 0 / 0.5184 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.333, allocations: 14.36 kB / 0.5185 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.3335, allocations: 146.1 kB / 0.5186 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3335, allocations: 4.594 kB / 0.5186 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.3363, allocations: 2.432 MB / 0.521 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3363, allocations: 1.281 kB / 0.521 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.3374, allocations: 0.5872 MB / 0.5215 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.3375, allocations: 102.4 kB / 0.5216 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3375, allocations: 7.375 kB / 0.5217 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3378, allocations: 28.64 kB / 0.5217 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.3378, allocations: 22.83 kB / 0.5217 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3379, allocations: 7.344 kB / 0.5217 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.3381, allocations: 197.3 kB / 0.5219 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3381, allocations: 0 / 0.5219 GB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.3386, allocations: 88.8 kB / 0.522 GB, free: 11.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C_hi.FO.y,P.x_scaled[1],P.x_scaled[2],C_lo.FO.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 (9): * Single equations (assignments): 8 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 8.942e-05/0.3387, allocations: 104.1 kB / 0.5221 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.3393, allocations: 292.1 kB / 0.5224 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3393, allocations: 0 / 0.5224 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.3398, allocations: 277.1 kB / 0.5226 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3402, allocations: 56.27 kB / 0.5227 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3413, allocations: 0.559 MB / 0.5232 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3415, allocations: 0.7599 MB / 0.524 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.3416, allocations: 22.84 kB / 0.524 GB, free: 9.707 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3416, allocations: 0 / 0.524 GB, free: 9.707 MB / 382.1 MB Notification: Performance of Templates: time 0.007359/0.349, allocations: 3.529 MB / 0.5274 GB, free: 9.453 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.pipe 2>&1) [Timeout 480]