Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 217.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.1098/0.1098, allocations: 24.11 MB / 337.3 MB, free: 11.48 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Devel_test_models.Test_HP_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_001a") translateModel(AES.Devel_test_models.Test_HP_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HP_001a") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.91 kB / 475.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2828, allocations: 59.6 MB / 0.5224 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.002527/0.2853, allocations: 1.876 MB / 0.5242 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.2855, allocations: 105 kB / 0.5243 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.2856, allocations: 1.125 kB / 0.5243 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.2856, allocations: 14.8 kB / 0.5244 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.2858, allocations: 33.5 kB / 0.5244 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.649e-05/0.2859, allocations: 29.95 kB / 0.5244 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.286, allocations: 121.4 kB / 0.5245 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2861, allocations: 46.53 kB / 0.5246 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.2862, allocations: 43.92 kB / 0.5246 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2863, allocations: 50.55 kB / 0.5247 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.2863, allocations: 10.81 kB / 0.5247 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.2863, allocations: 10.56 kB / 0.5247 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2863, allocations: 24.53 kB / 0.5247 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.2864, allocations: 57.09 kB / 0.5248 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2865, allocations: 118.5 kB / 0.5249 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2865, allocations: 3.938 kB / 0.5249 GB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2865, allocations: 1.312 kB / 0.5249 GB, free: 9.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2865, allocations: 3.938 kB / 0.5249 GB, free: 9.277 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0003902/0.2869, allocations: 333.5 kB / 0.5252 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.287, allocations: 9.578 kB / 0.5252 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.287, allocations: 15.53 kB / 0.5252 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.2871, allocations: 116.6 kB / 0.5253 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2871, allocations: 13.69 kB / 0.5254 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.2871, allocations: 11.84 kB / 0.5254 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2873, allocations: 109.1 kB / 0.5255 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2873, allocations: 5.312 kB / 0.5255 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2873, allocations: 9 kB / 0.5255 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2873, allocations: 2.719 kB / 0.5255 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.2874, allocations: 76.91 kB / 0.5256 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.288, allocations: 0.5444 MB / 0.5261 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.2883, allocations: 128.9 kB / 0.5262 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.2884, allocations: 47.42 kB / 0.5263 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2884, allocations: 1.438 kB / 0.5263 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.2884, allocations: 36.66 kB / 0.5263 GB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2884, allocations: 0 / 0.5263 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001082/0.2895, allocations: 315.3 kB / 0.5266 GB, free: 7.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.2895, allocations: 52.59 kB / 0.5266 GB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.2896, allocations: 112.9 kB / 0.5268 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2896, allocations: 27.02 kB / 0.5268 GB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.2896, allocations: 112.3 kB / 0.5269 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.2897, allocations: 47.44 kB / 0.5269 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.2897, allocations: 23.14 kB / 0.527 GB, free: 7.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.2897, allocations: 320.2 kB / 0.5273 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.2898, allocations: 23.42 kB / 0.5273 GB, free: 7.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.2898, allocations: 53.59 kB / 0.5273 GB, free: 7.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.2899, allocations: 74.98 kB / 0.5274 GB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2899, allocations: 1.344 kB / 0.5274 GB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004005/0.2903, allocations: 181.3 kB / 0.5276 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2903, allocations: 6.797 kB / 0.5276 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2903, allocations: 0 / 0.5276 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.2907, allocations: 84.55 kB / 0.5277 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.2908, allocations: 14.92 kB / 0.5277 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.2925, allocations: 1.804 MB / 0.5294 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.2925, allocations: 9.297 kB / 0.5295 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2925, allocations: 7.078 kB / 0.5295 GB, free: 5.504 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 (6): * Single equations (assignments): 5 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.2926, allocations: 120 kB / 0.5296 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2926, allocations: 7.859 kB / 0.5296 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.2931, allocations: 192 kB / 0.5298 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2931, allocations: 1.781 kB / 0.5298 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.2931, allocations: 3.938 kB / 0.5298 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2931, allocations: 2.531 kB / 0.5298 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.2936, allocations: 462.5 kB / 0.5302 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2936, allocations: 0 / 0.5302 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.2937, allocations: 11.67 kB / 0.5302 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.294, allocations: 89.73 kB / 0.5303 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.294, allocations: 7.328 kB / 0.5303 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.2955, allocations: 1.789 MB / 0.5321 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2955, allocations: 3.938 kB / 0.5321 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.2959, allocations: 276.7 kB / 0.5323 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.2959, allocations: 9.891 kB / 0.5323 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2959, allocations: 5.891 kB / 0.5323 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.296, allocations: 1.469 kB / 0.5323 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.296, allocations: 13.69 kB / 0.5324 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.296, allocations: 2.203 kB / 0.5324 GB, free: 3.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.296, allocations: 93.58 kB / 0.5325 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.296, allocations: 0 / 0.5325 GB, free: 3.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.2964, allocations: 41.52 kB / 0.5325 GB, free: 3.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 6.006e-05/0.2964, allocations: 95.41 kB / 0.5326 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.2968, allocations: 215.3 kB / 0.5328 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2968, allocations: 0 / 0.5328 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.297, allocations: 188.8 kB / 0.533 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2972, allocations: 11.41 kB / 0.533 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.2978, allocations: 314.9 kB / 0.5333 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.298, allocations: 0.7024 MB / 0.534 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.298, allocations: 10.75 kB / 0.534 GB, free: 1.719 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.298, allocations: 0 / 0.534 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Templates: time 0.003548/0.3015, allocations: 1.607 MB / 0.5355 GB, free: 1.59 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_HP_001a.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_HP_001a.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001a.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001a.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001a.sim & ./AES_AES.Devel_test_models.Test_HP_001a -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HP_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.078714719042182] Failed to read output from testmodel.py, exit status != 0: 0.30948627390898764 0.32265745999999995 0.033252961000000004 Calling exit ...