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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 106.6 kB / 18.67 MB, free: 3.191 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.004986/0.004986, allocations: 192.3 kB / 21.92 MB, free: 5.598 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.405/1.405, allocations: 225.6 MB / 250.6 MB, free: 13.38 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.1425/0.1425, allocations: 22.69 MB / 328.5 MB, free: 2.621 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_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.002037/0.002037, allocations: 63.89 kB / 463.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09906, allocations: 58.02 MB / 0.5089 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_within_two_limits): time 0.003525/0.1026, allocations: 2.083 MB / 0.5109 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1039, allocations: 0.6975 MB / 0.5116 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.104, allocations: 4 kB / 0.5116 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1043, allocations: 43.59 kB / 0.5116 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1045, allocations: 51.58 kB / 0.5117 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1049, allocations: 175.7 kB / 0.5118 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.1053, allocations: 331.3 kB / 0.5122 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1054, allocations: 80.16 kB / 0.5122 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1056, allocations: 119.6 kB / 0.5124 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1058, allocations: 143.4 kB / 0.5125 GB, free: 476 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.1059, allocations: 28 kB / 0.5125 GB, free: 448 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.154e-05/0.1059, allocations: 31.94 kB / 0.5125 GB, free: 416 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1061, allocations: 79.73 kB / 0.5126 GB, free: 336 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1062, allocations: 127.2 kB / 0.5127 GB, free: 208 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1834/0.2896, allocations: 291.5 kB / 0.513 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2896, allocations: 0.5938 kB / 0.513 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2896, allocations: 1.906 kB / 0.513 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.2896, allocations: 0 / 0.513 GB, free: 13.82 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.001201/0.2908, allocations: 0.6145 MB / 0.5136 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2909, allocations: 11.95 kB / 0.5136 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.2909, allocations: 31.97 kB / 0.5137 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.2914, allocations: 321.2 kB / 0.514 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2914, allocations: 14.97 kB / 0.514 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2915, allocations: 20.5 kB / 0.514 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.2919, allocations: 256.1 kB / 0.5142 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.292, allocations: 3.938 kB / 0.5143 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.292, allocations: 8.75 kB / 0.5143 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.292, allocations: 8.562 kB / 0.5143 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.2924, allocations: 185.4 kB / 0.5144 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2935, allocations: 0.7083 MB / 0.5151 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.2943, allocations: 250.5 kB / 0.5154 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.2945, allocations: 100.5 kB / 0.5155 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2945, allocations: 4.141 kB / 0.5155 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2945, allocations: 31.06 kB / 0.5155 GB, free: 12.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.2945, allocations: 1.625 kB / 0.5155 GB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.002545/0.2971, allocations: 0.8143 MB / 0.5163 GB, free: 12.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.2971, allocations: 111.5 kB / 0.5164 GB, free: 12.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.2975, allocations: 257.1 kB / 0.5167 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2975, allocations: 30.14 kB / 0.5167 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.2975, allocations: 161.4 kB / 0.5168 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.2976, allocations: 66.17 kB / 0.5169 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.2977, allocations: 43.5 kB / 0.5169 GB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.2977, allocations: 344.6 kB / 0.5173 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.2979, allocations: 91.09 kB / 0.5174 GB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.2981, allocations: 131.6 kB / 0.5175 GB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2985, allocations: 208.3 kB / 0.5177 GB, free: 11.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2985, allocations: 0 / 0.5177 GB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004669/0.299, allocations: 269.5 kB / 0.5179 GB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.299, allocations: 6.406 kB / 0.5179 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.299, allocations: 0 / 0.5179 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.299, allocations: 1.562 kB / 0.5179 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.2993, allocations: 64.14 kB / 0.518 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2993, allocations: 6.219 kB / 0.518 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2995, allocations: 33.91 kB / 0.518 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.2996, allocations: 7.969 kB / 0.5181 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001598/0.2997, allocations: 176.4 kB / 0.5182 GB, free: 11.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001178/0.2998, allocations: 105 kB / 0.5183 GB, free: 11.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002024/0.3, allocations: 164.7 kB / 0.5185 GB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.3, allocations: 0 / 0.5185 GB, free: 11.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002957/0.3003, allocations: 225 kB / 0.5187 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/0.3003, allocations: 5.781 kB / 0.5187 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.3003, allocations: 0 / 0.5187 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/0.3003, allocations: 1.375 kB / 0.5187 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3006, allocations: 57.52 kB / 0.5188 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.3006, allocations: 2.406 kB / 0.5188 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3008, allocations: 30.09 kB / 0.5188 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3008, allocations: 8.719 kB / 0.5188 GB, free: 11.45 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 6.544e-05/0.3009, allocations: 194.6 kB / 0.519 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.3009, allocations: 22.89 kB / 0.519 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.3019, allocations: 407.2 kB / 0.5194 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.302, allocations: 1.359 kB / 0.5194 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.302, allocations: 1.406 kB / 0.5194 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.302, allocations: 102.7 kB / 0.5195 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.302, allocations: 6.766 kB / 0.5195 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.3023, allocations: 28.83 kB / 0.5195 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.3024, allocations: 21.72 kB / 0.5195 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001494/0.3039, allocations: 0.5487 MB / 0.5201 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007033/0.3046, allocations: 0.5414 MB / 0.5206 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000199/0.3048, allocations: 95.11 kB / 0.5207 GB, free: 10.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.3051, allocations: 197.2 kB / 0.5209 GB, free: 10.57 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.3051, allocations: 0 / 0.5209 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.3058, allocations: 286.6 kB / 0.5212 GB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008596/0.3066, allocations: 1.012 MB / 0.5221 GB, free: 9.637 MB / 382.1 MB Notification: Performance of Templates: time 0.007963/0.3146, allocations: 4.056 MB / 0.5261 GB, free: 9.414 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] [Calling os._exit(0), Time elapsed: 4.550140972947702] Failed to read output from testmodel.py, exit status != 0: 0.3225879830424674 0.33319333999999995 0.041119741 Calling exit ...