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.001811/0.001811, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002277/0.002277, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.111/0.111, allocations: 24.13 MB / 337.3 MB, free: 11.24 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.002086/0.002086, allocations: 63.91 kB / 475.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2934, allocations: 59.61 MB / 0.5223 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Keep_within_two_limits_actuators): time 0.002858/0.2962, allocations: 2.075 MB / 0.5243 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2974, allocations: 0.7187 MB / 0.525 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2975, allocations: 8.312 kB / 0.5251 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.2977, allocations: 40.36 kB / 0.5251 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2979, allocations: 59.06 kB / 0.5252 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2983, allocations: 206.5 kB / 0.5253 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.2987, allocations: 388 kB / 0.5257 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.2989, allocations: 85.58 kB / 0.5258 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.299, allocations: 138.7 kB / 0.5259 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2992, allocations: 146.2 kB / 0.5261 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.2993, allocations: 30.78 kB / 0.5261 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.392e-05/0.2993, allocations: 27.72 kB / 0.5261 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.2994, allocations: 74.2 kB / 0.5262 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.2995, allocations: 95.64 kB / 0.5263 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2998, allocations: 307.8 kB / 0.5266 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2998, allocations: 2.719 kB / 0.5266 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2998, allocations: 0 / 0.5266 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.2998, allocations: 1.219 kB / 0.5266 GB, free: 8.422 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.001048/0.3008, allocations: 0.5473 MB / 0.5271 GB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3009, allocations: 10.17 kB / 0.5271 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.3009, allocations: 37.27 kB / 0.5272 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.3014, allocations: 270.3 kB / 0.5274 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3014, allocations: 17.75 kB / 0.5274 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.3015, allocations: 21.12 kB / 0.5275 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.3019, allocations: 301.4 kB / 0.5277 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3019, allocations: 0 / 0.5277 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3019, allocations: 6.406 kB / 0.5278 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3019, allocations: 8.5 kB / 0.5278 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.3023, allocations: 179.1 kB / 0.5279 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3034, allocations: 0.5771 MB / 0.5285 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.3041, allocations: 258.9 kB / 0.5287 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.3043, allocations: 89.66 kB / 0.5288 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3043, allocations: 2.828 kB / 0.5288 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.3043, allocations: 36.88 kB / 0.5289 GB, free: 7.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.3043, allocations: 3.938 kB / 0.5289 GB, free: 7 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006505/0.305, allocations: 284.1 kB / 0.5291 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.305, allocations: 105.3 kB / 0.5292 GB, free: 6.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.3054, allocations: 270.8 kB / 0.5295 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3054, allocations: 30.92 kB / 0.5295 GB, free: 6.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.3055, allocations: 170.5 kB / 0.5297 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.3055, allocations: 68.69 kB / 0.5298 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.3056, allocations: 46.59 kB / 0.5298 GB, free: 6.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.3056, allocations: 332.9 kB / 0.5301 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3058, allocations: 91.75 kB / 0.5302 GB, free: 5.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.306, allocations: 184.4 kB / 0.5304 GB, free: 5.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3073, allocations: 385.6 kB / 0.5308 GB, free: 5.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3073, allocations: 3.938 kB / 0.5308 GB, free: 5.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004896/0.3078, allocations: 263.8 kB / 0.531 GB, free: 5.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3078, allocations: 4.625 kB / 0.531 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3078, allocations: 5.312 kB / 0.531 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3078, allocations: 5.312 kB / 0.531 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3081, allocations: 58.78 kB / 0.5311 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3081, allocations: 1.344 kB / 0.5311 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3083, allocations: 37.19 kB / 0.5311 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3083, allocations: 9.172 kB / 0.5311 GB, free: 5.574 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.0002059/0.3085, allocations: 169.8 kB / 0.5313 GB, free: 5.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001357/0.3087, allocations: 154.6 kB / 0.5314 GB, free: 5.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009381/0.3096, allocations: 329 kB / 0.5317 GB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.3096, allocations: 0.5 kB / 0.5317 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003605/0.31, allocations: 211.6 kB / 0.5319 GB, free: 5.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.31, allocations: 9.406 kB / 0.532 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.31, allocations: 1.406 kB / 0.532 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.31, allocations: 1 kB / 0.532 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3102, allocations: 44.7 kB / 0.532 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3102, allocations: 2.094 kB / 0.532 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.3104, allocations: 31.14 kB / 0.532 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3104, allocations: 4.75 kB / 0.532 GB, free: 5.074 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 9.805e-05/0.3105, allocations: 203.6 kB / 0.5322 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.3106, allocations: 23.5 kB / 0.5323 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.3111, allocations: 238.1 kB / 0.5325 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3111, allocations: 1.938 kB / 0.5325 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3111, allocations: 1.672 kB / 0.5325 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3111, allocations: 0.5156 kB / 0.5325 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3114, allocations: 234.4 kB / 0.5327 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3114, allocations: 4 kB / 0.5327 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.3117, allocations: 39.84 kB / 0.5328 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3117, allocations: 5.188 kB / 0.5328 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3117, allocations: 5.672 kB / 0.5328 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3117, allocations: 2.016 kB / 0.5328 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3117, allocations: 0 / 0.5328 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.3123, allocations: 438.2 kB / 0.5332 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3124, allocations: 29.73 kB / 0.5332 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3124, allocations: 2.922 kB / 0.5332 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.3127, allocations: 26.03 kB / 0.5332 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3127, allocations: 9.188 kB / 0.5332 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3127, allocations: 14.06 kB / 0.5333 GB, free: 4.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.313, allocations: 199.5 kB / 0.5334 GB, free: 4.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.313, allocations: 4 kB / 0.5335 GB, free: 4.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.3134, allocations: 83.84 kB / 0.5335 GB, free: 4.152 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.902e-05/0.3135, allocations: 103.3 kB / 0.5336 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.314, allocations: 268.9 kB / 0.5339 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.314, allocations: 3.938 kB / 0.5339 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.3142, allocations: 100.6 kB / 0.534 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3147, allocations: 55.53 kB / 0.534 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3157, allocations: 0.5645 MB / 0.5346 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3158, allocations: 155.2 kB / 0.5347 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.316, allocations: 44.3 kB / 0.5348 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.3161, allocations: 26 kB / 0.5348 GB, free: 3.492 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3161, allocations: 0 / 0.5348 GB, free: 3.492 MB / 382.1 MB Notification: Performance of Templates: time 0.00695/0.323, allocations: 3.087 MB / 0.5378 GB, free: 3.16 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 gbode -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.669447281004977] Failed to read output from testmodel.py, exit status != 0: 0.33160354099527467 0.35132386699999996 0.046738856 Calling exit ...