Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Keep_within_two_limits_actuators.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.001263/0.001263, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001564/0.001564, allocations: 210.9 kB / 22.99 MB, free: 4.953 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.727 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.1047/0.1047, allocations: 24.13 MB / 337.3 MB, free: 11.19 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.Keep_within_two_limits_actuators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3333,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Keep_within_two_limits_actuators") translateModel(AES.Devel_test_models.Keep_within_two_limits_actuators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3333,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Keep_within_two_limits_actuators") [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.001997/0.001997, allocations: 63.91 kB / 475.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 59.61 MB / 0.5223 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Keep_within_two_limits_actuators): time 0.003088/0.3159, allocations: 2.076 MB / 0.5243 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3171, allocations: 0.7256 MB / 0.5251 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3172, allocations: 9.281 kB / 0.5251 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3175, allocations: 36.78 kB / 0.5251 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.3178, allocations: 62.42 kB / 0.5252 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.3184, allocations: 203.8 kB / 0.5254 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.3188, allocations: 387.4 kB / 0.5257 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.319, allocations: 87.41 kB / 0.5258 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3191, allocations: 144.2 kB / 0.5259 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3193, allocations: 134.5 kB / 0.5261 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.3194, allocations: 30.56 kB / 0.5261 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.3195, allocations: 29.19 kB / 0.5261 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3196, allocations: 76.58 kB / 0.5262 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3197, allocations: 96.77 kB / 0.5263 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.32, allocations: 307 kB / 0.5266 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.32, allocations: 1.188 kB / 0.5266 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.32, allocations: 0 / 0.5266 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.32, allocations: 0 / 0.5266 GB, free: 8.184 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001138/0.3212, allocations: 0.5535 MB / 0.5271 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3212, allocations: 9.734 kB / 0.5271 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.3213, allocations: 37.3 kB / 0.5272 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.3218, allocations: 271.1 kB / 0.5274 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3218, allocations: 16.38 kB / 0.5274 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3219, allocations: 22.03 kB / 0.5275 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.3223, allocations: 301.9 kB / 0.5278 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3223, allocations: 0 / 0.5278 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3224, allocations: 10.41 kB / 0.5278 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3224, allocations: 13.11 kB / 0.5278 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3228, allocations: 176.6 kB / 0.5279 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3239, allocations: 0.5676 MB / 0.5285 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.3246, allocations: 259.5 kB / 0.5287 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.3248, allocations: 92.83 kB / 0.5288 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3248, allocations: 2.5 kB / 0.5288 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3249, allocations: 33.3 kB / 0.5289 GB, free: 6.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.3249, allocations: 1.094 kB / 0.5289 GB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007161/0.3256, allocations: 289 kB / 0.5291 GB, free: 6.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3256, allocations: 109.6 kB / 0.5293 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.326, allocations: 275 kB / 0.5295 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.326, allocations: 26.8 kB / 0.5295 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3261, allocations: 173.6 kB / 0.5297 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.3261, allocations: 64.91 kB / 0.5298 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3262, allocations: 46.59 kB / 0.5298 GB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.3263, allocations: 338.2 kB / 0.5301 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3265, allocations: 82.89 kB / 0.5302 GB, free: 5.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3267, allocations: 185.5 kB / 0.5304 GB, free: 5.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.328, allocations: 390.9 kB / 0.5308 GB, free: 5.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.328, allocations: 5.125 kB / 0.5308 GB, free: 5.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000455/0.3284, allocations: 267.2 kB / 0.531 GB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3285, allocations: 4.312 kB / 0.531 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.3285, allocations: 6.125 kB / 0.531 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3285, allocations: 1.062 kB / 0.531 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3287, allocations: 53.34 kB / 0.5311 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3287, allocations: 3 kB / 0.5311 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.329, allocations: 39.86 kB / 0.5311 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.329, allocations: 6.484 kB / 0.5311 GB, free: 5.336 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Ahi.y:VARIABLE(flow=false start = Ahi.y_start fixed = true ) \"Connector of Real output signal\" type: Real Alo.y:VARIABLE(flow=false start = Alo.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002106/0.3292, allocations: 171.2 kB / 0.5313 GB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000119/0.3293, allocations: 146 kB / 0.5314 GB, free: 5.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008794/0.3302, allocations: 329.2 kB / 0.5317 GB, free: 4.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.3302, allocations: 0.8125 kB / 0.5317 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003528/0.3305, allocations: 214.8 kB / 0.532 GB, free: 4.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.3306, allocations: 5.562 kB / 0.532 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.3306, allocations: 0.625 kB / 0.532 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.3306, allocations: 3.641 kB / 0.532 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3308, allocations: 47.38 kB / 0.532 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3308, allocations: 1.75 kB / 0.532 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.331, allocations: 27.06 kB / 0.532 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.331, allocations: 9 kB / 0.532 GB, free: 4.836 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Ahi.y:VARIABLE(flow=false start = Ahi.y_start fixed = true ) \"Connector of Real output signal\" type: Real Alo.y:VARIABLE(flow=false start = Alo.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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 (24): * Single equations (assignments): 24 * 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.0001072/0.3311, allocations: 200.2 kB / 0.5322 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3312, allocations: 22.98 kB / 0.5323 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.3317, allocations: 235.8 kB / 0.5325 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3317, allocations: 1.906 kB / 0.5325 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3317, allocations: 0 / 0.5325 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3317, allocations: 2.359 kB / 0.5325 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.332, allocations: 240.7 kB / 0.5327 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.332, allocations: 1.062 kB / 0.5327 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3322, allocations: 43.69 kB / 0.5328 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3322, allocations: 2.078 kB / 0.5328 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3322, allocations: 1.031 kB / 0.5328 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3322, allocations: 1.922 kB / 0.5328 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3322, allocations: 0 / 0.5328 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.3329, allocations: 437.8 kB / 0.5332 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.3329, allocations: 24.56 kB / 0.5332 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.3329, allocations: 12.98 kB / 0.5332 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3332, allocations: 21.2 kB / 0.5332 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3332, allocations: 13.38 kB / 0.5333 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3332, allocations: 3.75 kB / 0.5333 GB, free: 4.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002707/0.3335, allocations: 208.2 kB / 0.5335 GB, free: 3.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3335, allocations: 0 / 0.5335 GB, free: 3.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.3339, allocations: 83.72 kB / 0.5335 GB, free: 3.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C_hi.FO.y,P.x_scaled[1],C_lo.FO.y,Ahi.y,Alo.y) * 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 (18): * Single equations (assignments): 18 * 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 8.506e-05/0.334, allocations: 108.4 kB / 0.5336 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.3345, allocations: 271 kB / 0.5339 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3345, allocations: 5.312 kB / 0.5339 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3347, allocations: 94.09 kB / 0.534 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.3351, allocations: 58.97 kB / 0.534 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.3361, allocations: 0.5668 MB / 0.5346 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3362, allocations: 152.9 kB / 0.5347 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3363, allocations: 40.95 kB / 0.5348 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.3364, allocations: 24.45 kB / 0.5348 GB, free: 3.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3364, allocations: 0 / 0.5348 GB, free: 3.262 MB / 382.1 MB Notification: Performance of Templates: time 0.006809/0.3432, allocations: 3.097 MB / 0.5378 GB, free: 2.918 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Keep_within_two_limits_actuators.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe ; mkfifo AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe >> ../files/AES_AES.Devel_test_models.Keep_within_two_limits_actuators.sim & ./AES_AES.Devel_test_models.Keep_within_two_limits_actuators -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.620758598000975] Failed to read output from testmodel.py, exit status != 0: 0.3526411680068122 0.367390054 0.044104497 Calling exit ...