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.001831/0.001831, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002489/0.002489, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.973 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.1106/0.1106, allocations: 24.14 MB / 336.6 MB, free: 11.43 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.002352/0.002352, allocations: 67.89 kB / 474.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3447, allocations: 59.59 MB / 0.5217 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Keep_within_two_limits_actuators): time 0.003342/0.3481, allocations: 2.196 MB / 0.5238 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3493, allocations: 0.7661 MB / 0.5246 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3495, allocations: 12.34 kB / 0.5246 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.3498, allocations: 41.52 kB / 0.5246 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.35, allocations: 57.92 kB / 0.5247 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.3504, allocations: 204.1 kB / 0.5249 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.3509, allocations: 382.1 kB / 0.5252 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.351, allocations: 91.17 kB / 0.5253 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.3512, allocations: 142.2 kB / 0.5254 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3514, allocations: 137.6 kB / 0.5256 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.3515, allocations: 27.53 kB / 0.5256 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.3515, allocations: 28.03 kB / 0.5256 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.3516, allocations: 73.44 kB / 0.5257 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3517, allocations: 127.8 kB / 0.5258 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.3521, allocations: 300.6 kB / 0.5261 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3521, allocations: 0.5156 kB / 0.5261 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3521, allocations: 0 / 0.5261 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3521, allocations: 1.281 kB / 0.5261 GB, free: 7.969 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.001085/0.3531, allocations: 0.5524 MB / 0.5266 GB, free: 7.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3532, allocations: 10.55 kB / 0.5267 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.3533, allocations: 44.61 kB / 0.5267 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.3537, allocations: 265.8 kB / 0.527 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3538, allocations: 16.94 kB / 0.527 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.3538, allocations: 22.5 kB / 0.527 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.3543, allocations: 249.7 kB / 0.5272 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3543, allocations: 0 / 0.5272 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.3543, allocations: 10.34 kB / 0.5272 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.3543, allocations: 4.469 kB / 0.5272 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.3547, allocations: 177.4 kB / 0.5274 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3559, allocations: 0.6782 MB / 0.5281 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.3566, allocations: 257.3 kB / 0.5283 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.3568, allocations: 94.59 kB / 0.5284 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3568, allocations: 1.438 kB / 0.5284 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3568, allocations: 37.36 kB / 0.5284 GB, free: 6.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.3568, allocations: 0 / 0.5284 GB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006786/0.3575, allocations: 287 kB / 0.5287 GB, free: 6.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3576, allocations: 108.8 kB / 0.5288 GB, free: 6.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3579, allocations: 271.3 kB / 0.5291 GB, free: 6.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.358, allocations: 30.95 kB / 0.5291 GB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.3581, allocations: 173.7 kB / 0.5293 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.3581, allocations: 64.73 kB / 0.5293 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.3582, allocations: 42.03 kB / 0.5294 GB, free: 5.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.3582, allocations: 341.4 kB / 0.5297 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3585, allocations: 87.52 kB / 0.5298 GB, free: 5.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3587, allocations: 131.2 kB / 0.5299 GB, free: 5.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.3599, allocations: 397.2 kB / 0.5303 GB, free: 5.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3599, allocations: 0 / 0.5303 GB, free: 5.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004883/0.3604, allocations: 259 kB / 0.5305 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3604, allocations: 6.844 kB / 0.5305 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.3604, allocations: 1.406 kB / 0.5305 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3604, allocations: 1.781 kB / 0.5306 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3607, allocations: 58.83 kB / 0.5306 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3607, allocations: 1.188 kB / 0.5306 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3609, allocations: 36.2 kB / 0.5306 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.361, allocations: 10.84 kB / 0.5307 GB, free: 5.184 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.0002218/0.3612, allocations: 164 kB / 0.5308 GB, free: 5.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001282/0.3613, allocations: 103.7 kB / 0.5309 GB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000913/0.3622, allocations: 324.7 kB / 0.5312 GB, free: 4.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.3622, allocations: 4 kB / 0.5312 GB, free: 4.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003361/0.3626, allocations: 211.3 kB / 0.5314 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.3626, allocations: 5.25 kB / 0.5314 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3626, allocations: 1.328 kB / 0.5314 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.3626, allocations: 1.781 kB / 0.5314 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3628, allocations: 45.03 kB / 0.5315 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.3628, allocations: 1.594 kB / 0.5315 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.363, allocations: 38.89 kB / 0.5315 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.363, allocations: 5.234 kB / 0.5315 GB, free: 4.742 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.000103/0.3631, allocations: 199.2 kB / 0.5317 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3632, allocations: 23.97 kB / 0.5317 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/0.3637, allocations: 239 kB / 0.532 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3638, allocations: 5.531 kB / 0.532 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3638, allocations: 0.6562 kB / 0.532 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3638, allocations: 5.656 kB / 0.532 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.3642, allocations: 305.2 kB / 0.5323 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3642, allocations: 0.5312 kB / 0.5323 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3644, allocations: 40.5 kB / 0.5323 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3644, allocations: 1.859 kB / 0.5323 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3644, allocations: 5.312 kB / 0.5323 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3644, allocations: 1.125 kB / 0.5323 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3644, allocations: 5.875 kB / 0.5323 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.3651, allocations: 435.8 kB / 0.5327 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.3651, allocations: 26.5 kB / 0.5328 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.3652, allocations: 6.281 kB / 0.5328 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.3654, allocations: 26.28 kB / 0.5328 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.3654, allocations: 16.56 kB / 0.5328 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3655, allocations: 11.44 kB / 0.5328 GB, free: 3.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.3657, allocations: 200.8 kB / 0.533 GB, free: 3.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3657, allocations: 1.062 kB / 0.533 GB, free: 3.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000421/0.3662, allocations: 83.5 kB / 0.5331 GB, free: 3.77 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 0.000101/0.3663, allocations: 111.8 kB / 0.5332 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.3669, allocations: 267.7 kB / 0.5334 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3669, allocations: 0 / 0.5334 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.367, allocations: 94.45 kB / 0.5335 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.3675, allocations: 54.83 kB / 0.5336 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3685, allocations: 0.5672 MB / 0.5341 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3687, allocations: 0.766 MB / 0.5349 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3689, allocations: 38.03 kB / 0.5349 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.369, allocations: 19.8 kB / 0.5349 GB, free: 2.496 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.369, allocations: 1.156 kB / 0.5349 GB, free: 2.496 MB / 382.1 MB Notification: Performance of Templates: time 0.007524/0.3765, allocations: 2.849 MB / 0.5377 GB, free: 2.289 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: 5.1499288871418685] Failed to read output from testmodel.py, exit status != 0: 0.3854046401102096 0.39962352100000004 0.044183282000000004 Calling exit ...