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.0006107/0.0006107, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 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.000734/0.000734, allocations: 165.2 kB / 23.98 MB, free: 0.582 MB / 18.57 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 0.8114/0.8114, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.06019/0.06019, allocations: 18.12 MB / 278.8 MB, free: 11.54 MB / 266.7 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) 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: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 417.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.903e-05, allocations: 4.766 kB / 417.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.001651/0.00167, allocations: 1.789 MB / 418.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005235/0.002194, allocations: 0.4977 MB / 419.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.002252, allocations: 5.312 kB / 419.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002277, allocations: 14.08 kB / 419.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.002401, allocations: 32.16 kB / 419.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.002517, allocations: 71.78 kB / 419.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.002644, allocations: 127.5 kB / 419.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.002727, allocations: 33.19 kB / 419.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.002766, allocations: 47.61 kB / 419.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.002826, allocations: 45.2 kB / 419.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.002851, allocations: 13.19 kB / 419.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.002863, allocations: 10.12 kB / 419.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.00288, allocations: 24.03 kB / 419.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.002915, allocations: 35.97 kB / 419.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.003028, allocations: 105.1 kB / 419.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.00303, allocations: 5.625 kB / 419.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00303, allocations: 0 / 419.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.003034, allocations: 0 / 419.9 MB, free: 10.28 MB / 330.7 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.000314/0.003348, allocations: 373.4 kB / 420.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/0.003372, allocations: 10.92 kB / 420.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.003399, allocations: 17.44 kB / 420.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.003534, allocations: 149.9 kB / 420.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.003546, allocations: 8.188 kB / 420.5 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.003564, allocations: 12.11 kB / 420.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.003742, allocations: 160.1 kB / 420.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003748, allocations: 0 / 420.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.003759, allocations: 5.688 kB / 420.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.003763, allocations: 2.594 kB / 420.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.003904, allocations: 86.59 kB / 420.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.004341, allocations: 411.5 kB / 421.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.004572, allocations: 135.8 kB / 421.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.004644, allocations: 46.34 kB / 421.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.004662, allocations: 1.812 kB / 421.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.004674, allocations: 32.98 kB / 421.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.004675, allocations: 0 / 421.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002896/0.004965, allocations: 173.1 kB / 421.5 MB, free: 9.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.004983, allocations: 79.05 kB / 421.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.005053, allocations: 152.7 kB / 421.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.005062, allocations: 30.83 kB / 421.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.0051, allocations: 114.8 kB / 421.9 MB, free: 8.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.005118, allocations: 35.2 kB / 421.9 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.005152, allocations: 30.17 kB / 422 MB, free: 8.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.463e-05/0.005177, allocations: 326.2 kB / 422.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.005253, allocations: 58.41 kB / 422.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.005334, allocations: 88.2 kB / 422.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.005803, allocations: 227.4 kB / 422.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005805, allocations: 0 / 422.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001995/0.006004, allocations: 156.5 kB / 422.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.006013, allocations: 5.375 kB / 422.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006017, allocations: 3.344 kB / 422.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.006027, allocations: 2.188 kB / 422.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.006122, allocations: 32.42 kB / 422.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.006126, allocations: 1.219 kB / 422.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.006175, allocations: 13.78 kB / 422.9 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006182, allocations: 7.438 kB / 422.9 MB, free: 8.152 MB / 330.7 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.0001064/0.006288, allocations: 124.4 kB / 423 MB, free: 8.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.453e-05/0.006343, allocations: 78.7 kB / 423.1 MB, free: 7.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002872/0.00663, allocations: 179.8 kB / 423.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.91e-07/0.006631, allocations: 0 / 423.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0001346/0.006765, allocations: 137 kB / 423.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/0.00677, allocations: 5.328 kB / 423.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-06/0.006772, allocations: 1.188 kB / 423.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-06/0.006773, allocations: 1.094 kB / 423.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.006835, allocations: 32.8 kB / 423.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.006837, allocations: 5.625 kB / 423.4 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.006875, allocations: 14.28 kB / 423.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.006879, allocations: 3.188 kB / 423.4 MB, free: 7.82 MB / 330.7 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 5.575e-05/0.006935, allocations: 197 kB / 423.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.006955, allocations: 10.14 kB / 423.6 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.007173, allocations: 148.8 kB / 423.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007176, allocations: 5.734 kB / 423.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.007179, allocations: 5.031 kB / 423.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007182, allocations: 0.7969 kB / 423.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007293, allocations: 160.7 kB / 424 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007294, allocations: 1.125 kB / 424 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.007386, allocations: 23.31 kB / 424 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.007387, allocations: 4 kB / 424 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.007395, allocations: 2.188 kB / 424 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.007397, allocations: 0.7031 kB / 424 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007397, allocations: 0 / 424 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.007663, allocations: 278.8 kB / 424.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.007677, allocations: 17.11 kB / 424.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007691, allocations: 1.672 kB / 424.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.007751, allocations: 16.3 kB / 424.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.007777, allocations: 6.781 kB / 424.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007782, allocations: 2.922 kB / 424.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.565e-05/0.007818, allocations: 112.3 kB / 424.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007818, allocations: 1.312 kB / 424.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.008019, allocations: 43.58 kB / 424.5 MB, free: 7.082 MB / 330.7 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 4.823e-05/0.008067, allocations: 102.7 kB / 424.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.008314, allocations: 152.8 kB / 424.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.008316, allocations: 1.125 kB / 424.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.0084, allocations: 49.84 kB / 424.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.008611, allocations: 42.17 kB / 424.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.009055, allocations: 350.2 kB / 425.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.009104, allocations: 105.1 kB / 425.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.00914, allocations: 15.48 kB / 425.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00914, allocations: 0 / 425.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of Templates: time 0.002163/0.0113, allocations: 1.748 MB / 427 MB, free: 6.469 MB / 330.7 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.8947323029860854] Failed to read output from testmodel.py, exit status != 0: 0.01543683372437954 0.022438374 0.017814701000000002 Calling exit ...