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.00153/0.00153, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001095/0.001095, allocations: 173 kB / 24.16 MB, free: 340 kB / 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 1.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.08481/0.08481, allocations: 18.13 MB / 279.2 MB, free: 11.2 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.834e-06/1.834e-06, allocations: 0 / 305.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.903e-05, allocations: 4.219 kB / 305.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002269/0.002288, allocations: 1.872 MB / 307.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.002997, allocations: 0.5221 MB / 307.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.00306, allocations: 7.938 kB / 307.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.003089, allocations: 10.12 kB / 307.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003225, allocations: 34.77 kB / 307.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.003352, allocations: 63.75 kB / 307.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.00349, allocations: 129.1 kB / 308 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.003569, allocations: 36.28 kB / 308.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.003621, allocations: 53.52 kB / 308.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.003689, allocations: 40.3 kB / 308.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.003706, allocations: 8 kB / 308.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.003718, allocations: 12 kB / 308.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.003742, allocations: 28.98 kB / 308.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.003772, allocations: 30.3 kB / 308.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.003871, allocations: 88.58 kB / 308.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003872, allocations: 3.938 kB / 308.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.003873, allocations: 0 / 308.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003876, allocations: 4 kB / 308.3 MB, free: 13.82 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.0002918/0.004168, allocations: 334.6 kB / 308.7 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.437e-05/0.004192, allocations: 8.922 kB / 308.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.004227, allocations: 20.12 kB / 308.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.00435, allocations: 143.6 kB / 308.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.004364, allocations: 8.562 kB / 308.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.004381, allocations: 8.375 kB / 308.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.00453, allocations: 158.6 kB / 309 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.004536, allocations: 0.5156 kB / 309 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.004545, allocations: 5.688 kB / 309 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.00455, allocations: 4 kB / 309 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.004593, allocations: 30.97 kB / 309 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.005002, allocations: 319.2 kB / 309.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.005106, allocations: 69.81 kB / 309.4 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.005129, allocations: 14.12 kB / 309.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.005141, allocations: 4.703 kB / 309.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.00516, allocations: 39.36 kB / 309.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.005161, allocations: 0 / 309.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001259/0.005287, allocations: 78.5 kB / 309.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.005313, allocations: 77.11 kB / 309.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.005388, allocations: 152.8 kB / 309.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005399, allocations: 29.7 kB / 309.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.005439, allocations: 108.3 kB / 309.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.005462, allocations: 39.06 kB / 310 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.005495, allocations: 25 kB / 310 MB, free: 12.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.005572, allocations: 326.9 kB / 310.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.005593, allocations: 17.92 kB / 310.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.005637, allocations: 73.08 kB / 310.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.005714, allocations: 58.48 kB / 310.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005716, allocations: 11.91 kB / 310.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.686e-05/0.005813, allocations: 80.77 kB / 310.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.005823, allocations: 4 kB / 310.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.005828, allocations: 4 kB / 310.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.005836, allocations: 0 / 310.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.005933, allocations: 36.58 kB / 310.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.005937, allocations: 5.172 kB / 310.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.005975, allocations: 12.97 kB / 310.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005981, allocations: 4 kB / 310.6 MB, free: 11.51 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 7.948e-05/0.006061, allocations: 114.3 kB / 310.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.575e-05/0.006097, allocations: 56.8 kB / 310.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.302e-05/0.00616, allocations: 60.97 kB / 310.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.00616, allocations: 4 kB / 310.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 7.805e-05/0.006238, allocations: 84.89 kB / 310.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-06/0.006242, allocations: 8.672 kB / 310.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/0.006244, allocations: 4 kB / 310.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-06/0.006245, allocations: 0 / 310.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.006303, allocations: 23.7 kB / 310.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.02e-07/0.006304, allocations: 0 / 310.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.006336, allocations: 21.06 kB / 311 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.00634, allocations: 0.6562 kB / 311 MB, free: 11.15 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: 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 7.699e-05/0.006417, allocations: 216.4 kB / 311.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.006437, allocations: 4 kB / 311.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.006531, allocations: 78.44 kB / 311.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.006534, allocations: 3.984 kB / 311.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.006535, allocations: 0 / 311.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006538, allocations: 3.938 kB / 311.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.006642, allocations: 101.8 kB / 311.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.006645, allocations: 7.984 kB / 311.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.006718, allocations: 19.98 kB / 311.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.00672, allocations: 7.938 kB / 311.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.006728, allocations: 4 kB / 311.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006729, allocations: 0 / 311.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.00673, allocations: 0 / 311.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.00687, allocations: 191.4 kB / 311.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.006882, allocations: 11.89 kB / 311.6 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.006897, allocations: 11.98 kB / 311.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.006949, allocations: 8 kB / 311.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.006971, allocations: 3.984 kB / 311.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006976, allocations: 8 kB / 311.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.006999, allocations: 37.83 kB / 311.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007, allocations: 0 / 311.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.007151, allocations: 43.89 kB / 311.7 MB, free: 10.36 MB / 282.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 5.412e-05/0.007205, allocations: 72.42 kB / 311.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.007321, allocations: 96.38 kB / 311.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.007324, allocations: 0 / 311.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.007356, allocations: 36.77 kB / 311.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.007524, allocations: 36.75 kB / 312 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.007969, allocations: 305 kB / 312.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.008004, allocations: 71.83 kB / 312.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.008051, allocations: 8.5 kB / 312.3 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.008133, allocations: 75.34 kB / 312.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008134, allocations: 0 / 312.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of Templates: time 0.00285/0.01098, allocations: 1.813 MB / 314.2 MB, free: 7.844 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.60105356387794]