Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.dz2.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.001333/0.001333, allocations: 110.2 kB / 19.69 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.001496/0.001496, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1175/0.1175, allocations: 24.12 MB / 337.3 MB, free: 11.46 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.dz2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz2") translateModel(AES.Devel_test_models.dz2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz2") [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.002322/0.002322, allocations: 63.91 kB / 475.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2977, allocations: 59.61 MB / 0.5224 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002637/0.3004, allocations: 1.847 MB / 0.5242 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.3012, allocations: 0.534 MB / 0.5247 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.3013, allocations: 1.562 kB / 0.5247 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.3013, allocations: 19.42 kB / 0.5248 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3015, allocations: 32.72 kB / 0.5248 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.3017, allocations: 67.81 kB / 0.5248 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3018, allocations: 128.8 kB / 0.525 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.302, allocations: 33.56 kB / 0.525 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.302, allocations: 49.66 kB / 0.5251 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.3021, allocations: 58.14 kB / 0.5251 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3021, allocations: 8.969 kB / 0.5251 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.3021, allocations: 10.09 kB / 0.5251 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.3022, allocations: 25.06 kB / 0.5251 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3022, allocations: 55.06 kB / 0.5252 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3024, allocations: 115.5 kB / 0.5253 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3024, allocations: 1.156 kB / 0.5253 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3024, allocations: 0 / 0.5253 GB, free: 9.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3024, allocations: 0 / 0.5253 GB, free: 9.023 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004779/0.3029, allocations: 358.3 kB / 0.5257 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.3029, allocations: 10.17 kB / 0.5257 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3029, allocations: 20.12 kB / 0.5257 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3031, allocations: 162.8 kB / 0.5258 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.3032, allocations: 8.125 kB / 0.5258 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.3032, allocations: 15.44 kB / 0.5259 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3035, allocations: 133.1 kB / 0.526 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3035, allocations: 1.094 kB / 0.526 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3035, allocations: 8.938 kB / 0.526 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3035, allocations: 2.688 kB / 0.526 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.3038, allocations: 86.33 kB / 0.5261 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.3045, allocations: 466.7 kB / 0.5265 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.305, allocations: 123.4 kB / 0.5266 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3051, allocations: 53.28 kB / 0.5267 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3051, allocations: 2.766 kB / 0.5267 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3051, allocations: 35.66 kB / 0.5267 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.3051, allocations: 0 / 0.5267 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005076/0.3057, allocations: 169.6 kB / 0.5269 GB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3057, allocations: 86.42 kB / 0.527 GB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3058, allocations: 146.6 kB / 0.5271 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3058, allocations: 31.52 kB / 0.5271 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.3059, allocations: 121.6 kB / 0.5273 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3059, allocations: 36.84 kB / 0.5273 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.3059, allocations: 33.66 kB / 0.5273 GB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.306, allocations: 321.8 kB / 0.5276 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3061, allocations: 49.06 kB / 0.5277 GB, free: 7.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3063, allocations: 62.39 kB / 0.5277 GB, free: 7.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.3071, allocations: 219.7 kB / 0.528 GB, free: 7.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3071, allocations: 0 / 0.528 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003816/0.3075, allocations: 159.5 kB / 0.5281 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3075, allocations: 6.516 kB / 0.5281 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3075, allocations: 2 kB / 0.5281 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3075, allocations: 0 / 0.5281 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3077, allocations: 29.34 kB / 0.5281 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3077, allocations: 5.344 kB / 0.5281 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3078, allocations: 16.62 kB / 0.5282 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3078, allocations: 15.55 kB / 0.5282 GB, free: 6.906 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real C.x:VARIABLE(start = C.x_start fixed = true ) \"State of block\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001672/0.308, allocations: 120.5 kB / 0.5283 GB, free: 6.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.995e-05/0.3081, allocations: 52.02 kB / 0.5283 GB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005933/0.3087, allocations: 175 kB / 0.5285 GB, free: 6.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.3087, allocations: 1.719 kB / 0.5285 GB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002484/0.3089, allocations: 136.2 kB / 0.5286 GB, free: 6.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.309, allocations: 6.125 kB / 0.5286 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.309, allocations: 0 / 0.5286 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-06/0.309, allocations: 8.781 kB / 0.5287 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3091, allocations: 33.2 kB / 0.5287 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.3091, allocations: 1.156 kB / 0.5287 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3092, allocations: 18.12 kB / 0.5287 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.3092, allocations: 3.25 kB / 0.5287 GB, free: 6.609 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real C.x:VARIABLE(start = C.x_start fixed = true ) \"State of block\" type: Real 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 (15): * Single equations (assignments): 15 * 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.364e-05/0.3093, allocations: 199 kB / 0.5289 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.3093, allocations: 9.172 kB / 0.5289 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3097, allocations: 140.3 kB / 0.529 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3097, allocations: 1.125 kB / 0.529 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3097, allocations: 9.094 kB / 0.529 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3097, allocations: 1.922 kB / 0.529 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3099, allocations: 197.9 kB / 0.5292 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3099, allocations: 0 / 0.5292 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.3101, allocations: 25.12 kB / 0.5293 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3101, allocations: 1.125 kB / 0.5293 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3101, allocations: 7.094 kB / 0.5293 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3101, allocations: 1.312 kB / 0.5293 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3101, allocations: 3.938 kB / 0.5293 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.3106, allocations: 284.8 kB / 0.5295 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3106, allocations: 8.375 kB / 0.5296 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3106, allocations: 2.188 kB / 0.5296 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3108, allocations: 8.484 kB / 0.5296 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3108, allocations: 18.02 kB / 0.5296 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3108, allocations: 3.375 kB / 0.5296 GB, free: 5.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.906e-05/0.3109, allocations: 114.9 kB / 0.5297 GB, free: 5.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3109, allocations: 3.938 kB / 0.5297 GB, free: 5.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.3112, allocations: 48.42 kB / 0.5297 GB, free: 5.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Aplus.y,Aminus.y,P.y,C.x) * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 6.656e-05/0.3113, allocations: 93.78 kB / 0.5298 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.3117, allocations: 153.6 kB / 0.53 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3117, allocations: 1.125 kB / 0.53 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3119, allocations: 54.19 kB / 0.53 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3122, allocations: 27.91 kB / 0.5301 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.313, allocations: 381.7 kB / 0.5304 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3131, allocations: 0.7093 MB / 0.5311 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.3131, allocations: 20.52 kB / 0.5311 GB, free: 4.719 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3131, allocations: 0 / 0.5311 GB, free: 4.719 MB / 382.1 MB Notification: Performance of Templates: time 0.003697/0.3168, allocations: 1.702 MB / 0.5328 GB, free: 4.574 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.dz2.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.dz2.pipe ; mkfifo AES_AES.Devel_test_models.dz2.pipe ; head -c 1048576 < AES_AES.Devel_test_models.dz2.pipe >> ../files/AES_AES.Devel_test_models.dz2.sim & ./AES_AES.Devel_test_models.dz2 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.160384906223044] Failed to read output from testmodel.py, exit status != 0: 0.3254295561928302 0.33808915399999995 0.032632147 Calling exit ...