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.001421/0.001421, allocations: 110.6 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.001641/0.001641, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.977 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.1072/0.1072, allocations: 24.12 MB / 336.5 MB, free: 11.44 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.002124/0.002124, allocations: 66.09 kB / 474.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 59.6 MB / 0.5217 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.003301/0.3606, allocations: 1.839 MB / 0.5235 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.3615, allocations: 0.5369 MB / 0.524 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.3616, allocations: 6.5 kB / 0.524 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3616, allocations: 13.55 kB / 0.524 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3617, allocations: 34.8 kB / 0.524 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.3619, allocations: 60.89 kB / 0.5241 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.362, allocations: 129.1 kB / 0.5242 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.3621, allocations: 32.78 kB / 0.5242 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.3622, allocations: 49.34 kB / 0.5243 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.3623, allocations: 61 kB / 0.5244 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.3623, allocations: 8.719 kB / 0.5244 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.3623, allocations: 10.09 kB / 0.5244 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.3623, allocations: 23.72 kB / 0.5244 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.3624, allocations: 52.05 kB / 0.5244 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3625, allocations: 119 kB / 0.5246 GB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3625, allocations: 0 / 0.5246 GB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3625, allocations: 1.062 kB / 0.5246 GB, free: 8.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3625, allocations: 0 / 0.5246 GB, free: 8.922 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.000419/0.3629, allocations: 368.5 kB / 0.5249 GB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.363, allocations: 10.17 kB / 0.5249 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.363, allocations: 17.03 kB / 0.5249 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3632, allocations: 151.6 kB / 0.5251 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3632, allocations: 8.969 kB / 0.5251 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.3632, allocations: 15.09 kB / 0.5251 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3635, allocations: 131.2 kB / 0.5252 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3635, allocations: 0 / 0.5252 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3636, allocations: 5.844 kB / 0.5252 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.3636, allocations: 2.312 kB / 0.5252 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.3638, allocations: 87.5 kB / 0.5253 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.3646, allocations: 461.2 kB / 0.5258 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.365, allocations: 140 kB / 0.5259 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3651, allocations: 46.22 kB / 0.5259 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3652, allocations: 1.984 kB / 0.5259 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3652, allocations: 36 kB / 0.526 GB, free: 7.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3652, allocations: 0 / 0.526 GB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005359/0.3657, allocations: 168.8 kB / 0.5261 GB, free: 7.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.3657, allocations: 78.83 kB / 0.5262 GB, free: 7.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3658, allocations: 158.4 kB / 0.5264 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3659, allocations: 30.83 kB / 0.5264 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3659, allocations: 118.2 kB / 0.5265 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3659, allocations: 43.64 kB / 0.5265 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.366, allocations: 35.28 kB / 0.5266 GB, free: 7.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.3661, allocations: 322.1 kB / 0.5269 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3662, allocations: 44.36 kB / 0.5269 GB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3663, allocations: 68.28 kB / 0.527 GB, free: 6.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.3672, allocations: 222.9 kB / 0.5272 GB, free: 6.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3672, allocations: 0 / 0.5272 GB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000346/0.3675, allocations: 152.7 kB / 0.5274 GB, free: 6.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3675, allocations: 5.375 kB / 0.5274 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3676, allocations: 1.062 kB / 0.5274 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3676, allocations: 6.797 kB / 0.5274 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3678, allocations: 36 kB / 0.5274 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3678, allocations: 5.188 kB / 0.5274 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3679, allocations: 18.41 kB / 0.5274 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3679, allocations: 2.875 kB / 0.5274 GB, free: 6.812 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.0001865/0.3681, allocations: 127.6 kB / 0.5275 GB, free: 6.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.927e-05/0.3682, allocations: 56.44 kB / 0.5276 GB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005487/0.3687, allocations: 179.9 kB / 0.5278 GB, free: 6.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.3687, allocations: 384 / 0.5278 GB, free: 6.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002373/0.3689, allocations: 133.8 kB / 0.5279 GB, free: 6.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.3689, allocations: 9.875 kB / 0.5279 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/0.3689, allocations: 3.938 kB / 0.5279 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-06/0.369, allocations: 5.281 kB / 0.5279 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3691, allocations: 22.64 kB / 0.5279 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.3691, allocations: 7.406 kB / 0.5279 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.3692, allocations: 21.14 kB / 0.528 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.3692, allocations: 6.25 kB / 0.528 GB, free: 6.5 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 0.0001053/0.3693, allocations: 191.4 kB / 0.5282 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.3693, allocations: 9.359 kB / 0.5282 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.3697, allocations: 140.2 kB / 0.5283 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3697, allocations: 6.594 kB / 0.5283 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3697, allocations: 3.938 kB / 0.5283 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3697, allocations: 4.594 kB / 0.5283 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.3699, allocations: 193 kB / 0.5285 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3699, allocations: 0 / 0.5285 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3701, allocations: 27.23 kB / 0.5285 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3701, allocations: 1.906 kB / 0.5285 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3701, allocations: 5.156 kB / 0.5285 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3701, allocations: 0.7031 kB / 0.5285 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3701, allocations: 5.094 kB / 0.5285 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.3706, allocations: 280.7 kB / 0.5288 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.3706, allocations: 11.33 kB / 0.5288 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3707, allocations: 1.312 kB / 0.5288 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3708, allocations: 8.203 kB / 0.5288 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3708, allocations: 13.41 kB / 0.5288 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.3708, allocations: 2.531 kB / 0.5288 GB, free: 5.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.3709, allocations: 112.4 kB / 0.5289 GB, free: 5.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3709, allocations: 3.938 kB / 0.5289 GB, free: 5.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.3712, allocations: 47.77 kB / 0.529 GB, free: 5.742 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 8.219e-05/0.3713, allocations: 104.6 kB / 0.5291 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.3718, allocations: 143.1 kB / 0.5292 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3718, allocations: 0 / 0.5292 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3719, allocations: 63.31 kB / 0.5293 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3723, allocations: 42.83 kB / 0.5293 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.3731, allocations: 347.4 kB / 0.5297 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3732, allocations: 0.7138 MB / 0.5304 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.017e-05/0.3733, allocations: 11.31 kB / 0.5304 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.3733, allocations: 19.02 kB / 0.5304 GB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3733, allocations: 0 / 0.5304 GB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.005114/0.3785, allocations: 1.621 MB / 0.532 GB, free: 4.512 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: 4.924943445017561] Failed to read output from testmodel.py, exit status != 0: 0.3877487180288881 0.40153098899999995 0.035704759 Calling exit ...