Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 105.1 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1002/0.1002, allocations: 22.7 MB / 325.4 MB, free: 3.535 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 71.88 kB / 457.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1578, allocations: 58.02 MB / 0.5036 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002001/0.1598, allocations: 0.7241 MB / 0.5043 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.1599, allocations: 15.98 kB / 0.5043 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1599, allocations: 0 / 0.5043 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.16, allocations: 3.938 kB / 0.5043 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.16, allocations: 3.984 kB / 0.5043 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.047e-05/0.1601, allocations: 12 kB / 0.5043 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.218e-05/0.1601, allocations: 23.92 kB / 0.5044 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.1602, allocations: 4 kB / 0.5044 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.1602, allocations: 7.938 kB / 0.5044 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.1603, allocations: 15.97 kB / 0.5044 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1603, allocations: 4 kB / 0.5044 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-06/0.1603, allocations: 0 / 0.5044 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.1603, allocations: 7.938 kB / 0.5044 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.1604, allocations: 7.984 kB / 0.5044 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.109e-05/0.1604, allocations: 15.92 kB / 0.5044 GB, free: 6.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1604, allocations: 4 kB / 0.5044 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.1604, allocations: 7.938 kB / 0.5044 GB, free: 6.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1604, allocations: 0 / 0.5044 GB, free: 6.262 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003854/0.1608, allocations: 327.5 kB / 0.5047 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1608, allocations: 8.031 kB / 0.5047 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.1609, allocations: 4.891 kB / 0.5048 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.161, allocations: 172.4 kB / 0.5049 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.161, allocations: 384 / 0.5049 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.161, allocations: 4.375 kB / 0.5049 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.1611, allocations: 42.25 kB / 0.505 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-06/0.1611, allocations: 192 / 0.505 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1611, allocations: 7.938 kB / 0.505 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-06/0.1611, allocations: 0 / 0.505 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.1612, allocations: 11.98 kB / 0.505 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.1615, allocations: 252.9 kB / 0.5052 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.1615, allocations: 46.44 kB / 0.5053 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.1616, allocations: 16.86 kB / 0.5053 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1616, allocations: 0 / 0.5053 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1616, allocations: 34.56 kB / 0.5053 GB, free: 5.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.1616, allocations: 0 / 0.5053 GB, free: 5.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001322/0.1617, allocations: 53.62 kB / 0.5054 GB, free: 5.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1618, allocations: 59.39 kB / 0.5054 GB, free: 5.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.1619, allocations: 97.86 kB / 0.5055 GB, free: 4.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1619, allocations: 29.7 kB / 0.5055 GB, free: 4.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.1619, allocations: 84.09 kB / 0.5056 GB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1619, allocations: 11.95 kB / 0.5056 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.162, allocations: 13.7 kB / 0.5056 GB, free: 4.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1621, allocations: 314.8 kB / 0.5059 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.1621, allocations: 4 kB / 0.506 GB, free: 4.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.1621, allocations: 4 kB / 0.506 GB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.1622, allocations: 25.31 kB / 0.506 GB, free: 4.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1622, allocations: 7.938 kB / 0.506 GB, free: 4.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.101e-05/0.1622, allocations: 57.61 kB / 0.506 GB, free: 4.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.1622, allocations: 4.625 kB / 0.506 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/0.1622, allocations: 0 / 0.506 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1623, allocations: 0 / 0.506 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.1623, allocations: 4 kB / 0.5061 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1623, allocations: 4 kB / 0.5061 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.1623, allocations: 3.938 kB / 0.5061 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.1623, allocations: 4 kB / 0.5061 GB, free: 4.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.549e-05/0.1624, allocations: 114.6 kB / 0.5062 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1625, allocations: 7.953 kB / 0.5062 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.1626, allocations: 73.11 kB / 0.5062 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1626, allocations: 0 / 0.5062 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1626, allocations: 0 / 0.5062 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1626, allocations: 7.984 kB / 0.5063 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1628, allocations: 161.6 kB / 0.5064 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1628, allocations: 4 kB / 0.5064 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.1629, allocations: 8 kB / 0.5064 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1629, allocations: 3.984 kB / 0.5064 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1629, allocations: 4 kB / 0.5064 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1629, allocations: 3.938 kB / 0.5064 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1629, allocations: 0 / 0.5064 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.163, allocations: 159.4 kB / 0.5066 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1631, allocations: 81.06 kB / 0.5067 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1631, allocations: 4 kB / 0.5067 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.1631, allocations: 0 / 0.5067 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.1632, allocations: 7.984 kB / 0.5067 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1632, allocations: 7.938 kB / 0.5067 GB, free: 3.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.1632, allocations: 79.28 kB / 0.5068 GB, free: 3.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1632, allocations: 0 / 0.5068 GB, free: 3.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1635, allocations: 4 kB / 0.5068 GB, free: 3.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0001237/0.1636, allocations: 91.25 kB / 0.5068 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1637, allocations: 27.98 kB / 0.5069 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1637, allocations: 0 / 0.5069 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.1637, allocations: 15.94 kB / 0.5069 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.164, allocations: 7.938 kB / 0.5069 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.1644, allocations: 108.9 kB / 0.507 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.1648, allocations: 0.6807 MB / 0.5077 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.1648, allocations: 11.98 kB / 0.5077 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.1648, allocations: 7.438 kB / 0.5077 GB, free: 2.531 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1648, allocations: 0 / 0.5077 GB, free: 2.531 MB / 382.1 MB Notification: Performance of Templates: time 0.00329/0.1681, allocations: 465.3 kB / 0.5081 GB, free: 2.078 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.967042178846896] Failed to read output from testmodel.py, exit status != 0: 0.17635661410167813 0.422283002 0.259370902 Calling exit ...