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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 105.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1056/0.1056, allocations: 22.7 MB / 325.4 MB, free: 3.547 MB / 254.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.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.002012/0.002012, allocations: 60.14 kB / 458.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1207, allocations: 58.03 MB / 0.5043 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.00363/0.1243, allocations: 1.83 MB / 0.5061 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1256, allocations: 0.6117 MB / 0.5067 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1257, allocations: 0 / 0.5067 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.1261, allocations: 39.72 kB / 0.5067 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1263, allocations: 35.72 kB / 0.5067 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1266, allocations: 111.8 kB / 0.5068 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.1269, allocations: 219.6 kB / 0.507 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1271, allocations: 37.55 kB / 0.5071 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1272, allocations: 91.67 kB / 0.5072 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1275, allocations: 107.6 kB / 0.5073 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.1275, allocations: 16 kB / 0.5073 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.1275, allocations: 16 kB / 0.5073 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1276, allocations: 55.83 kB / 0.5074 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.1277, allocations: 75.53 kB / 0.5074 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.128, allocations: 183.2 kB / 0.5076 GB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.128, allocations: 0 / 0.5076 GB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.128, allocations: 3.938 kB / 0.5076 GB, free: 3.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1281, allocations: 4 kB / 0.5076 GB, free: 3.016 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.001189/0.1292, allocations: 0.5222 MB / 0.5081 GB, free: 2.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1293, allocations: 8.031 kB / 0.5081 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.1293, allocations: 24.84 kB / 0.5082 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.1299, allocations: 272.7 kB / 0.5084 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1299, allocations: 8.609 kB / 0.5084 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.1299, allocations: 12.38 kB / 0.5084 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.1303, allocations: 177 kB / 0.5086 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1303, allocations: 0 / 0.5086 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1303, allocations: 8 kB / 0.5086 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1303, allocations: 3.938 kB / 0.5086 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.1306, allocations: 124.6 kB / 0.5087 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1316, allocations: 0.5361 MB / 0.5093 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.1322, allocations: 178.6 kB / 0.5094 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1323, allocations: 72.77 kB / 0.5095 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1324, allocations: 4.219 kB / 0.5095 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1324, allocations: 34.5 kB / 0.5095 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1324, allocations: 0 / 0.5095 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001719/0.1341, allocations: 0.5341 MB / 0.5101 GB, free: 324 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.1342, allocations: 81.11 kB / 0.5101 GB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.1346, allocations: 211.2 kB / 0.5103 GB, free: 4 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2893/0.4238, allocations: 29.55 kB / 0.5104 GB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.424, allocations: 125.7 kB / 0.5105 GB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.424, allocations: 47.5 kB / 0.5105 GB, free: 16.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.4241, allocations: 35.62 kB / 0.5106 GB, free: 16.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.4241, allocations: 327 kB / 0.5109 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.4244, allocations: 65.12 kB / 0.5109 GB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4245, allocations: 89.09 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.4249, allocations: 148.7 kB / 0.5112 GB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4249, allocations: 0.625 kB / 0.5112 GB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004438/0.4253, allocations: 189.6 kB / 0.5113 GB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4253, allocations: 5.203 kB / 0.5113 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.4253, allocations: 4.562 kB / 0.5113 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4253, allocations: 2.125 kB / 0.5114 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4257, allocations: 46.44 kB / 0.5114 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4257, allocations: 3.375 kB / 0.5114 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.4259, allocations: 29.16 kB / 0.5114 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.4259, allocations: 3 kB / 0.5114 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001406/0.426, allocations: 146.2 kB / 0.5116 GB, free: 15.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.359e-05/0.4261, allocations: 77.59 kB / 0.5116 GB, free: 15.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001799/0.4263, allocations: 120.1 kB / 0.5118 GB, free: 15.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.4263, allocations: 0 / 0.5118 GB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002483/0.4265, allocations: 175.5 kB / 0.5119 GB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.4265, allocations: 5.781 kB / 0.5119 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-06/0.4265, allocations: 1.125 kB / 0.5119 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/0.4266, allocations: 1.125 kB / 0.5119 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.4268, allocations: 36.78 kB / 0.512 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4268, allocations: 6.375 kB / 0.512 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.427, allocations: 27.28 kB / 0.512 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.427, allocations: 3.469 kB / 0.512 GB, free: 15.67 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 8.164e-05/0.427, allocations: 190 kB / 0.5122 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.4271, allocations: 18.38 kB / 0.5122 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.4279, allocations: 278.8 kB / 0.5125 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4279, allocations: 2.438 kB / 0.5125 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4279, allocations: 0 / 0.5125 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4279, allocations: 2.688 kB / 0.5125 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.4282, allocations: 270 kB / 0.5127 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4282, allocations: 0 / 0.5127 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4283, allocations: 15.14 kB / 0.5127 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.4287, allocations: 89.66 kB / 0.5128 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4287, allocations: 2.156 kB / 0.5128 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.4308, allocations: 1.842 MB / 0.5146 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4308, allocations: 0.5625 kB / 0.5146 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.4316, allocations: 440.3 kB / 0.5151 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.4317, allocations: 97.98 kB / 0.5151 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.4317, allocations: 3.281 kB / 0.5151 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4319, allocations: 22.09 kB / 0.5152 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.432, allocations: 15 kB / 0.5152 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.432, allocations: 7.094 kB / 0.5152 GB, free: 13.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.4323, allocations: 165.2 kB / 0.5153 GB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4323, allocations: 0 / 0.5153 GB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.4327, allocations: 61.36 kB / 0.5154 GB, free: 13.52 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.0001156/0.4328, allocations: 104.5 kB / 0.5155 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004596/0.4332, allocations: 205 kB / 0.5157 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4332, allocations: 0 / 0.5157 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.4336, allocations: 217.9 kB / 0.5159 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4339, allocations: 26.3 kB / 0.5159 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.4346, allocations: 394.8 kB / 0.5163 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.4348, allocations: 0.7293 MB / 0.517 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.4349, allocations: 33.83 kB / 0.5171 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.4349, allocations: 23 kB / 0.5171 GB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4349, allocations: 3.609 kB / 0.5171 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.008145/0.4431, allocations: 2.526 MB / 0.5195 GB, free: 12.29 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: 5.206221550703049] Failed to read output from testmodel.py, exit status != 0: 0.4536505462601781 0.47241053299999997 0.34052849299999993 Calling exit ...