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.001317/0.001317, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001458/0.001458, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1098/0.1098, allocations: 24.13 MB / 337.3 MB, free: 11.25 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.002147/0.002147, allocations: 68.14 kB / 475.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 59.6 MB / 0.5223 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002668/0.2929, allocations: 1.782 MB / 0.524 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.2937, allocations: 0.4983 MB / 0.5245 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.2937, allocations: 2.531 kB / 0.5245 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.2938, allocations: 14.11 kB / 0.5245 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.294, allocations: 30.58 kB / 0.5246 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.2941, allocations: 74.92 kB / 0.5246 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.2943, allocations: 123.2 kB / 0.5248 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2944, allocations: 34.14 kB / 0.5248 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.2945, allocations: 51.28 kB / 0.5248 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.2946, allocations: 56.97 kB / 0.5249 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2946, allocations: 8.844 kB / 0.5249 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.2946, allocations: 14.41 kB / 0.5249 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.2946, allocations: 27.95 kB / 0.5249 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.2947, allocations: 39.38 kB / 0.525 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.2948, allocations: 117.2 kB / 0.5251 GB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2948, allocations: 1.188 kB / 0.5251 GB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2948, allocations: 0 / 0.5251 GB, free: 9.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2948, allocations: 0 / 0.5251 GB, free: 9.059 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.0005142/0.2953, allocations: 364.6 kB / 0.5254 GB, free: 8.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2954, allocations: 10.08 kB / 0.5255 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.2954, allocations: 16.25 kB / 0.5255 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2956, allocations: 160.2 kB / 0.5256 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2956, allocations: 9.406 kB / 0.5256 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.2957, allocations: 10.22 kB / 0.5256 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.296, allocations: 166.2 kB / 0.5258 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.296, allocations: 0 / 0.5258 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.296, allocations: 1.375 kB / 0.5258 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.296, allocations: 2.594 kB / 0.5258 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2963, allocations: 90.25 kB / 0.5259 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.297, allocations: 416.4 kB / 0.5263 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.2974, allocations: 131.5 kB / 0.5264 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2975, allocations: 49.83 kB / 0.5265 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2975, allocations: 8.469 kB / 0.5265 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.2975, allocations: 32 kB / 0.5265 GB, free: 7.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2975, allocations: 0 / 0.5265 GB, free: 7.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005184/0.2981, allocations: 164.4 kB / 0.5267 GB, free: 7.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2981, allocations: 82.39 kB / 0.5267 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.2982, allocations: 148.7 kB / 0.5269 GB, free: 7.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2982, allocations: 30.98 kB / 0.5269 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.2982, allocations: 116.7 kB / 0.527 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.2983, allocations: 40.8 kB / 0.5271 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.2983, allocations: 32.55 kB / 0.5271 GB, free: 7.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.2984, allocations: 325.4 kB / 0.5274 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2985, allocations: 45.23 kB / 0.5274 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2987, allocations: 99.25 kB / 0.5275 GB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.2995, allocations: 215.5 kB / 0.5277 GB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2995, allocations: 0 / 0.5277 GB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003723/0.2999, allocations: 156 kB / 0.5279 GB, free: 6.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2999, allocations: 5.688 kB / 0.5279 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2999, allocations: 1.922 kB / 0.5279 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2999, allocations: 1.188 kB / 0.5279 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.3002, allocations: 36.17 kB / 0.5279 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3002, allocations: 5.141 kB / 0.5279 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3003, allocations: 25.94 kB / 0.528 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3003, allocations: 10.2 kB / 0.528 GB, free: 6.922 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.0001716/0.3005, allocations: 123.5 kB / 0.5281 GB, free: 6.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.511e-05/0.3006, allocations: 86.84 kB / 0.5282 GB, free: 6.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005867/0.3011, allocations: 172.9 kB / 0.5283 GB, free: 6.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.3011, allocations: 0 / 0.5283 GB, free: 6.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002414/0.3014, allocations: 138.6 kB / 0.5285 GB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.3014, allocations: 5.812 kB / 0.5285 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.3014, allocations: 0 / 0.5285 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.3014, allocations: 1.125 kB / 0.5285 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3015, allocations: 28.16 kB / 0.5285 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.3015, allocations: 1.156 kB / 0.5285 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.3016, allocations: 15.61 kB / 0.5285 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3016, allocations: 7.5 kB / 0.5285 GB, free: 6.594 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 7.667e-05/0.3017, allocations: 195.7 kB / 0.5287 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.3018, allocations: 13.8 kB / 0.5287 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.3021, allocations: 137.6 kB / 0.5289 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3021, allocations: 6.312 kB / 0.5289 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3021, allocations: 0 / 0.5289 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3021, allocations: 4.828 kB / 0.5289 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3023, allocations: 157.4 kB / 0.529 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3023, allocations: 0 / 0.529 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3025, allocations: 27.95 kB / 0.529 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3025, allocations: 1.312 kB / 0.529 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3025, allocations: 1.344 kB / 0.529 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3025, allocations: 0 / 0.529 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3025, allocations: 9.109 kB / 0.5291 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.303, allocations: 288.1 kB / 0.5293 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.303, allocations: 7.391 kB / 0.5293 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.303, allocations: 5.562 kB / 0.5293 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3032, allocations: 12.19 kB / 0.5294 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3032, allocations: 6.641 kB / 0.5294 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3032, allocations: 6.25 kB / 0.5294 GB, free: 5.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.3033, allocations: 109.6 kB / 0.5295 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3033, allocations: 4 kB / 0.5295 GB, free: 5.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.3036, allocations: 46.73 kB / 0.5295 GB, free: 5.859 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 7.944e-05/0.3037, allocations: 99.8 kB / 0.5296 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.3041, allocations: 152.4 kB / 0.5298 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3041, allocations: 192 / 0.5298 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3043, allocations: 62.81 kB / 0.5298 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3046, allocations: 29.33 kB / 0.5299 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.3054, allocations: 341.7 kB / 0.5302 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.988e-05/0.3054, allocations: 104.1 kB / 0.5303 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.3055, allocations: 12.06 kB / 0.5303 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3056, allocations: 18.19 kB / 0.5303 GB, free: 5.387 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3056, allocations: 0 / 0.5303 GB, free: 5.387 MB / 382.1 MB Notification: Performance of Templates: time 0.004733/0.3103, allocations: 1.737 MB / 0.532 GB, free: 5.215 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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7875130960019305] Failed to read output from testmodel.py, exit status != 0: 0.3182805550022749 0.33061502200000004 0.032824204 Calling exit ...