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.001377/0.001377, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001694/0.001694, allocations: 220.8 kB / 22.25 MB, free: 5.102 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.797 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.1094/0.1094, allocations: 24.12 MB / 336.6 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.003254/0.003254, allocations: 71.88 kB / 474.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3505, allocations: 59.6 MB / 0.5216 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Keep_within_two_limits_actuators): time 0.003208/0.3537, allocations: 2.083 MB / 0.5236 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3549, allocations: 0.7226 MB / 0.5243 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3551, allocations: 8.375 kB / 0.5243 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3553, allocations: 38.5 kB / 0.5244 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.3555, allocations: 64.95 kB / 0.5244 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.3559, allocations: 203.7 kB / 0.5246 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.3564, allocations: 383.5 kB / 0.525 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.3565, allocations: 90.25 kB / 0.5251 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3567, allocations: 138.6 kB / 0.5252 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3569, allocations: 132.8 kB / 0.5253 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.3569, allocations: 27.12 kB / 0.5253 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.357, allocations: 40.84 kB / 0.5254 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.3571, allocations: 72.8 kB / 0.5255 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.3572, allocations: 96.47 kB / 0.5255 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.3575, allocations: 308.2 kB / 0.5258 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3575, allocations: 0 / 0.5258 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3575, allocations: 0 / 0.5258 GB, free: 8.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3575, allocations: 5 kB / 0.5258 GB, free: 8.117 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.00112/0.3586, allocations: 0.5533 MB / 0.5264 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3586, allocations: 10.92 kB / 0.5264 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.3587, allocations: 37.05 kB / 0.5264 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.3592, allocations: 267.9 kB / 0.5267 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3592, allocations: 17.59 kB / 0.5267 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.3593, allocations: 22.08 kB / 0.5267 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.3597, allocations: 303.5 kB / 0.527 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3597, allocations: 0 / 0.527 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3598, allocations: 6.156 kB / 0.527 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3598, allocations: 4.219 kB / 0.527 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.3602, allocations: 183.2 kB / 0.5272 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3613, allocations: 0.573 MB / 0.5278 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.362, allocations: 254.4 kB / 0.528 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3622, allocations: 96.86 kB / 0.5281 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3622, allocations: 2.25 kB / 0.5281 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3623, allocations: 38.27 kB / 0.5281 GB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.3623, allocations: 0 / 0.5281 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006619/0.3629, allocations: 282.2 kB / 0.5284 GB, free: 6.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.363, allocations: 109.9 kB / 0.5285 GB, free: 6.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.3633, allocations: 275.2 kB / 0.5288 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3634, allocations: 26.77 kB / 0.5288 GB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.3634, allocations: 170.2 kB / 0.529 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.3635, allocations: 64 kB / 0.529 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.3636, allocations: 46.94 kB / 0.5291 GB, free: 6.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.3636, allocations: 336.5 kB / 0.5294 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3638, allocations: 85.5 kB / 0.5295 GB, free: 5.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.364, allocations: 191.9 kB / 0.5297 GB, free: 5.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.3653, allocations: 388.4 kB / 0.53 GB, free: 5.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3653, allocations: 5.062 kB / 0.53 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004913/0.3658, allocations: 263 kB / 0.5303 GB, free: 5.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3658, allocations: 5.812 kB / 0.5303 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3658, allocations: 0 / 0.5303 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3658, allocations: 6.859 kB / 0.5303 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.3661, allocations: 53.45 kB / 0.5303 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3661, allocations: 6.094 kB / 0.5303 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3664, allocations: 37.31 kB / 0.5304 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3664, allocations: 8.5 kB / 0.5304 GB, free: 5.273 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.0002183/0.3666, allocations: 170.4 kB / 0.5306 GB, free: 5.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001316/0.3667, allocations: 151 kB / 0.5307 GB, free: 5.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009412/0.3677, allocations: 324.2 kB / 0.531 GB, free: 4.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.3677, allocations: 0 / 0.531 GB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003597/0.368, allocations: 209.6 kB / 0.5312 GB, free: 4.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3681, allocations: 5.438 kB / 0.5312 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-06/0.3681, allocations: 5.906 kB / 0.5312 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/0.3681, allocations: 1.406 kB / 0.5312 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3683, allocations: 48.92 kB / 0.5313 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3683, allocations: 2.375 kB / 0.5313 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.3685, allocations: 26.72 kB / 0.5313 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3685, allocations: 9.438 kB / 0.5313 GB, free: 4.773 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.0001006/0.3686, allocations: 198.5 kB / 0.5315 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.3687, allocations: 28.72 kB / 0.5315 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.3692, allocations: 236.7 kB / 0.5317 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3692, allocations: 2.188 kB / 0.5317 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3692, allocations: 1.172 kB / 0.5317 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3693, allocations: 4.453 kB / 0.5317 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.3695, allocations: 237.3 kB / 0.532 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3695, allocations: 1.219 kB / 0.532 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3698, allocations: 44.2 kB / 0.532 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3698, allocations: 0 / 0.532 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.3698, allocations: 3.016 kB / 0.532 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3698, allocations: 5.125 kB / 0.532 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3698, allocations: 0.5625 kB / 0.532 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.3705, allocations: 434.5 kB / 0.5324 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.3705, allocations: 25.11 kB / 0.5325 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.3706, allocations: 11.81 kB / 0.5325 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.3708, allocations: 25.17 kB / 0.5325 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3709, allocations: 10.03 kB / 0.5325 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3709, allocations: 4.312 kB / 0.5325 GB, free: 3.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.3711, allocations: 200.5 kB / 0.5327 GB, free: 3.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3711, allocations: 1.438 kB / 0.5327 GB, free: 3.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.3716, allocations: 87.22 kB / 0.5328 GB, free: 3.855 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 9.765e-05/0.3717, allocations: 104 kB / 0.5329 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.3722, allocations: 273 kB / 0.5332 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3722, allocations: 0 / 0.5332 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3724, allocations: 97.28 kB / 0.5332 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3728, allocations: 55.5 kB / 0.5333 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.374, allocations: 0.5738 MB / 0.5339 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3741, allocations: 155.5 kB / 0.534 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.3743, allocations: 36.88 kB / 0.534 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.3744, allocations: 20.22 kB / 0.5341 GB, free: 3.203 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3744, allocations: 0 / 0.5341 GB, free: 3.203 MB / 382.1 MB Notification: Performance of Templates: time 0.008445/0.3828, allocations: 3.101 MB / 0.5371 GB, free: 2.859 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 -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.964997839182615] Failed to read output from testmodel.py, exit status != 0: 0.3943983530625701 0.41110147 0.049125672 Calling exit ...