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.0009379/0.0009379, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009449/0.0009449, allocations: 165 kB / 23.82 MB, free: 0.7539 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.9581/0.9581, allocations: 177.1 MB / 204.2 MB, free: 5.227 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.06422/0.06422, allocations: 18.14 MB / 278.9 MB, free: 11.15 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 4.729e-06/4.729e-06, allocations: 0 / 358.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.808e-05/4.281e-05, allocations: 2.312 kB / 358.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002798/0.002841, allocations: 1.826 MB / 359.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.003819, allocations: 0.5219 MB / 360.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.003941, allocations: 0 / 360.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.001e-05/0.003991, allocations: 15.8 kB / 360.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.004266, allocations: 23.75 kB / 360.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.004481, allocations: 75.77 kB / 360.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.004679, allocations: 131.5 kB / 360.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.004815, allocations: 37.64 kB / 360.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.004884, allocations: 39.91 kB / 360.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.004984, allocations: 43.81 kB / 360.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.005015, allocations: 8 kB / 360.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.005034, allocations: 12 kB / 360.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.005065, allocations: 23.92 kB / 360.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.005109, allocations: 31.84 kB / 360.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.005313, allocations: 87.59 kB / 361 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.00532, allocations: 0 / 361 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.005323, allocations: 0 / 361 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.005332, allocations: 4 kB / 361 MB, free: 4.094 MB / 282.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.0006079/0.00594, allocations: 464.2 kB / 361.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.005985, allocations: 8.922 kB / 361.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.006047, allocations: 24.84 kB / 361.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.00626, allocations: 172.1 kB / 361.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.006282, allocations: 4.562 kB / 361.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.006321, allocations: 8.375 kB / 361.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.006594, allocations: 166.3 kB / 361.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006603, allocations: 0 / 361.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.006619, allocations: 4 kB / 361.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.006628, allocations: 4 kB / 361.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.006704, allocations: 35.97 kB / 361.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.007344, allocations: 442.7 kB / 362.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.007528, allocations: 91.05 kB / 362.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.007576, allocations: 23.81 kB / 362.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.007603, allocations: 0 / 362.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.007631, allocations: 45.38 kB / 362.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.007632, allocations: 0 / 362.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002477/0.00788, allocations: 113.5 kB / 362.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.007929, allocations: 81.05 kB / 362.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.008047, allocations: 204.1 kB / 362.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.008065, allocations: 29.7 kB / 362.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.008143, allocations: 162.7 kB / 363 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.00817, allocations: 39.69 kB / 363.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.008216, allocations: 39.31 kB / 363.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.008349, allocations: 0.4961 MB / 363.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.008404, allocations: 27.67 kB / 363.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.008475, allocations: 72.75 kB / 363.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.008617, allocations: 83.25 kB / 363.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.008621, allocations: 0 / 363.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001632/0.008784, allocations: 113.7 kB / 363.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.008802, allocations: 4 kB / 363.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.008809, allocations: 4 kB / 363.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.00883, allocations: 0 / 363.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.008971, allocations: 27.92 kB / 363.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.00898, allocations: 4 kB / 363.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.009028, allocations: 19.88 kB / 364 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.009037, allocations: 4 kB / 364 MB, free: 0.8672 MB / 282.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.0001639/0.009201, allocations: 156.4 kB / 364.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.778e-05/0.009259, allocations: 72.75 kB / 364.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001019/0.009361, allocations: 86.17 kB / 364.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.009362, allocations: 0 / 364.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0001348/0.009496, allocations: 121.5 kB / 364.4 MB, free: 412 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.009504, allocations: 4 kB / 364.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.009506, allocations: 4.062 kB / 364.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.00951, allocations: 4 kB / 364.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.009581, allocations: 19.98 kB / 364.4 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.009583, allocations: 4 kB / 364.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.00962, allocations: 15.89 kB / 364.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.009625, allocations: 4 kB / 364.4 MB, free: 356 kB / 282.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 0.0001207/0.009745, allocations: 285.1 kB / 364.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.009773, allocations: 15.94 kB / 364.7 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.009966, allocations: 102.4 kB / 364.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.00997, allocations: 0 / 364.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.009974, allocations: 0 / 364.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009978, allocations: 0 / 364.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.01014, allocations: 168.5 kB / 365 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01014, allocations: 0 / 365 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01024, allocations: 19.98 kB / 365 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01025, allocations: 4 kB / 365 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01026, allocations: 0 / 365 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01026, allocations: 4 kB / 365 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01026, allocations: 0 / 365 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.01049, allocations: 267.6 kB / 365.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.01051, allocations: 15.89 kB / 365.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01053, allocations: 8 kB / 365.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.01059, allocations: 4 kB / 365.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.01063, allocations: 7.984 kB / 365.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.01064, allocations: 4 kB / 365.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.976e-05/0.0107, allocations: 152.6 kB / 365.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0107, allocations: 0 / 365.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.01091, allocations: 47.89 kB / 365.5 MB, free: 15.2 MB / 298.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 0.0001031/0.01101, allocations: 95.19 kB / 365.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.01123, allocations: 111.2 kB / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01123, allocations: 3.938 kB / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.01128, allocations: 43.61 kB / 365.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.01155, allocations: 54.28 kB / 365.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.01214, allocations: 306.6 kB / 366.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.817e-05/0.01219, allocations: 75.77 kB / 366.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.01224, allocations: 12.5 kB / 366.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.01229, allocations: 16.48 kB / 366.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01229, allocations: 0 / 366.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003586/0.01588, allocations: 1.656 MB / 367.9 MB, free: 12.81 MB / 298.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=240 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9654188021086156]