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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 103 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.001344/0.001344, 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.413/1.413, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.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.09649/0.09649, allocations: 22.69 MB / 327.7 MB, free: 7.324 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_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: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 64.25 kB / 461.8 MB, free: 40.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08181/0.08373, allocations: 58.04 MB / 0.5076 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002281/0.08601, allocations: 1.836 MB / 0.5094 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.08676, allocations: 0.604 MB / 0.51 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.08685, allocations: 0 / 0.51 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.08708, allocations: 31.73 kB / 0.51 GB, free: 3.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.08721, allocations: 39.7 kB / 0.5101 GB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.08743, allocations: 123.7 kB / 0.5102 GB, free: 3.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.08761, allocations: 211.5 kB / 0.5104 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.08772, allocations: 45.52 kB / 0.5104 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.0878, allocations: 75.77 kB / 0.5105 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.08793, allocations: 103.6 kB / 0.5106 GB, free: 3.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.08797, allocations: 16 kB / 0.5106 GB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.641e-05/0.08799, allocations: 20 kB / 0.5106 GB, free: 3.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.08807, allocations: 59.81 kB / 0.5107 GB, free: 3.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.08814, allocations: 75.53 kB / 0.5108 GB, free: 2.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.08831, allocations: 187.2 kB / 0.5109 GB, free: 2.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.08831, allocations: 4 kB / 0.5109 GB, free: 2.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08831, allocations: 0 / 0.5109 GB, free: 2.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.08832, allocations: 0 / 0.5109 GB, free: 2.781 MB / 366.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.0008208/0.08914, allocations: 0.5261 MB / 0.5114 GB, free: 2.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.08917, allocations: 12.03 kB / 0.5115 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.08922, allocations: 16.84 kB / 0.5115 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.08959, allocations: 272.7 kB / 0.5117 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.0896, allocations: 12.61 kB / 0.5117 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.08963, allocations: 12.38 kB / 0.5118 GB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.08989, allocations: 170.9 kB / 0.5119 GB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.08991, allocations: 4 kB / 0.5119 GB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.08993, allocations: 7.984 kB / 0.5119 GB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.08993, allocations: 7.938 kB / 0.5119 GB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.09015, allocations: 120.6 kB / 0.5121 GB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.09088, allocations: 0.5322 MB / 0.5126 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.09135, allocations: 182.6 kB / 0.5128 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.09147, allocations: 72.75 kB / 0.5128 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.09149, allocations: 4 kB / 0.5128 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.0915, allocations: 30.56 kB / 0.5129 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.0915, allocations: 3.938 kB / 0.5129 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001346/0.09285, allocations: 0.5304 MB / 0.5134 GB, free: 84 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.0929, allocations: 77.11 kB / 0.5134 GB, free: 15.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.09325, allocations: 219.2 kB / 0.5137 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.09328, allocations: 29.7 kB / 0.5137 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.09337, allocations: 128 kB / 0.5138 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.09342, allocations: 47.58 kB / 0.5139 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.09348, allocations: 33.72 kB / 0.5139 GB, free: 15.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.09363, allocations: 330.8 kB / 0.5142 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.09377, allocations: 68.83 kB / 0.5143 GB, free: 15.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.09392, allocations: 86.47 kB / 0.5143 GB, free: 15.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.09419, allocations: 144.4 kB / 0.5145 GB, free: 14.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09419, allocations: 0 / 0.5145 GB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003554/0.09455, allocations: 193.5 kB / 0.5147 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.09457, allocations: 11.98 kB / 0.5147 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.09457, allocations: 0 / 0.5147 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.09458, allocations: 0 / 0.5147 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.09484, allocations: 39.97 kB / 0.5147 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.09485, allocations: 4 kB / 0.5147 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.09503, allocations: 23.92 kB / 0.5147 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.09505, allocations: 15.95 kB / 0.5148 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001621/0.09521, allocations: 144.1 kB / 0.5149 GB, free: 14.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001093/0.09532, allocations: 70.55 kB / 0.515 GB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001842/0.0955, allocations: 124.3 kB / 0.5151 GB, free: 14.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.0955, allocations: 0 / 0.5151 GB, free: 14.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002821/0.09578, allocations: 173.4 kB / 0.5153 GB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.09579, allocations: 4 kB / 0.5153 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.09579, allocations: 4.062 kB / 0.5153 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.0958, allocations: 7.938 kB / 0.5153 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.09601, allocations: 35.97 kB / 0.5153 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.09602, allocations: 0 / 0.5153 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.09618, allocations: 23.92 kB / 0.5153 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.09619, allocations: 4 kB / 0.5153 GB, free: 13.98 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 0.0001257/0.09632, allocations: 200.9 kB / 0.5155 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.09636, allocations: 11.91 kB / 0.5155 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/0.09707, allocations: 283.6 kB / 0.5158 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.09707, allocations: 4 kB / 0.5158 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.09708, allocations: 0 / 0.5158 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.09708, allocations: 0 / 0.5158 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.09741, allocations: 269.5 kB / 0.5161 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.09741, allocations: 3.938 kB / 0.5161 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.09751, allocations: 12 kB / 0.5161 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/0.09787, allocations: 92.72 kB / 0.5162 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.09788, allocations: 3.984 kB / 0.5162 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.1001, allocations: 1.833 MB / 0.518 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1001, allocations: 0 / 0.518 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008049/0.1009, allocations: 442.5 kB / 0.5184 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.101, allocations: 93.02 kB / 0.5185 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.101, allocations: 12.22 kB / 0.5185 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1012, allocations: 23.98 kB / 0.5185 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.1013, allocations: 11.97 kB / 0.5185 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1013, allocations: 4 kB / 0.5185 GB, free: 10.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.1016, allocations: 173 kB / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1016, allocations: 0 / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.1019, allocations: 59.89 kB / 0.5187 GB, free: 10.24 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.0001186/0.1021, allocations: 103.2 kB / 0.5188 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.1025, allocations: 206.2 kB / 0.519 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1025, allocations: 0 / 0.519 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.1029, allocations: 210.7 kB / 0.5192 GB, free: 9.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1032, allocations: 29.64 kB / 0.5193 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.104, allocations: 430.3 kB / 0.5197 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1044, allocations: 0.732 MB / 0.5204 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1044, allocations: 15.44 kB / 0.5204 GB, free: 8.461 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1044, allocations: 0 / 0.5204 GB, free: 8.461 MB / 382.1 MB Notification: Performance of Templates: time 0.004467/0.1089, allocations: 2.488 MB / 0.5228 GB, free: 5.973 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]