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.00183/0.00183, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.002236/0.002236, allocations: 216.6 kB / 23.76 MB, free: 4.527 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1148/0.1148, allocations: 24.04 MB / 338 MB, free: 11.33 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) 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.002229/0.002229, allocations: 63.89 kB / 475.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.313, allocations: 59.57 MB / 0.5229 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.002769/0.3157, allocations: 1.779 MB / 0.5246 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.3166, allocations: 0.5056 MB / 0.5251 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.3167, allocations: 2.031 kB / 0.5251 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.3167, allocations: 13.83 kB / 0.5251 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.3169, allocations: 27.31 kB / 0.5252 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.3171, allocations: 68.3 kB / 0.5252 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3173, allocations: 129.2 kB / 0.5253 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.3175, allocations: 27.03 kB / 0.5254 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.3175, allocations: 52.44 kB / 0.5254 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.3176, allocations: 52.17 kB / 0.5255 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.3176, allocations: 12.72 kB / 0.5255 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.3177, allocations: 10.22 kB / 0.5255 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3177, allocations: 24.22 kB / 0.5255 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.3177, allocations: 43.2 kB / 0.5256 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3179, allocations: 108.7 kB / 0.5257 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3179, allocations: 1.531 kB / 0.5257 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3179, allocations: 0 / 0.5257 GB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3179, allocations: 0 / 0.5257 GB, free: 9.012 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.0005995/0.3185, allocations: 370.1 kB / 0.526 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3185, allocations: 9.297 kB / 0.526 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.3186, allocations: 21.31 kB / 0.526 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3188, allocations: 166.7 kB / 0.5262 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3188, allocations: 9.5 kB / 0.5262 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3188, allocations: 10.88 kB / 0.5262 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3191, allocations: 159.8 kB / 0.5264 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3192, allocations: 1.438 kB / 0.5264 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3192, allocations: 7.938 kB / 0.5264 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3192, allocations: 2.625 kB / 0.5264 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.3194, allocations: 88.36 kB / 0.5265 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.3202, allocations: 416 kB / 0.5269 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.3206, allocations: 132.2 kB / 0.527 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3208, allocations: 45.94 kB / 0.527 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3208, allocations: 2.422 kB / 0.527 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3208, allocations: 40.53 kB / 0.5271 GB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.988e-06/0.3208, allocations: 0 / 0.5271 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005752/0.3214, allocations: 160.4 kB / 0.5272 GB, free: 7.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.3214, allocations: 78.3 kB / 0.5273 GB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3215, allocations: 153.2 kB / 0.5275 GB, free: 7.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3215, allocations: 29.7 kB / 0.5275 GB, free: 7.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.3216, allocations: 119.4 kB / 0.5276 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3216, allocations: 42.8 kB / 0.5276 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3216, allocations: 31.09 kB / 0.5277 GB, free: 7.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.3217, allocations: 325.1 kB / 0.528 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3219, allocations: 46.41 kB / 0.528 GB, free: 7.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.322, allocations: 88.36 kB / 0.5281 GB, free: 7.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008879/0.3229, allocations: 223.1 kB / 0.5283 GB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3229, allocations: 0 / 0.5283 GB, free: 6.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003516/0.3233, allocations: 153.1 kB / 0.5285 GB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3233, allocations: 4.812 kB / 0.5285 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3233, allocations: 1.25 kB / 0.5285 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3233, allocations: 5.531 kB / 0.5285 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.3235, allocations: 32.91 kB / 0.5285 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3235, allocations: 1.031 kB / 0.5285 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3236, allocations: 21.61 kB / 0.5285 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3236, allocations: 16.05 kB / 0.5285 GB, free: 6.871 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.0001886/0.3238, allocations: 124.2 kB / 0.5287 GB, free: 6.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.417e-05/0.3239, allocations: 82.52 kB / 0.5287 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005565/0.3245, allocations: 177.9 kB / 0.5289 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.3245, allocations: 4.781 kB / 0.5289 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0002464/0.3247, allocations: 130 kB / 0.529 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.3247, allocations: 5.344 kB / 0.529 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.3247, allocations: 5.094 kB / 0.529 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.3247, allocations: 0.75 kB / 0.529 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3249, allocations: 23.89 kB / 0.5291 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.3249, allocations: 2.203 kB / 0.5291 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.325, allocations: 18.92 kB / 0.5291 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.325, allocations: 2.188 kB / 0.5291 GB, free: 6.547 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 0.000119/0.3251, allocations: 209 kB / 0.5293 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.3251, allocations: 9.516 kB / 0.5293 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.3255, allocations: 142.4 kB / 0.5294 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3255, allocations: 1.406 kB / 0.5294 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3255, allocations: 0 / 0.5294 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3255, allocations: 5.531 kB / 0.5294 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3257, allocations: 158.1 kB / 0.5296 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3257, allocations: 4 kB / 0.5296 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3259, allocations: 24.16 kB / 0.5296 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3259, allocations: 5.062 kB / 0.5296 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3259, allocations: 1.25 kB / 0.5296 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3259, allocations: 0 / 0.5296 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3259, allocations: 1.312 kB / 0.5296 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.3264, allocations: 281.9 kB / 0.5299 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.3264, allocations: 11.81 kB / 0.5299 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3265, allocations: 6.062 kB / 0.5299 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3266, allocations: 8.422 kB / 0.5299 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3266, allocations: 14.5 kB / 0.5299 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3267, allocations: 2.25 kB / 0.5299 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3268, allocations: 116.3 kB / 0.5301 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 0 / 0.5301 GB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000331/0.3271, allocations: 48.55 kB / 0.5301 GB, free: 5.809 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.998e-05/0.3272, allocations: 99.14 kB / 0.5302 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.3277, allocations: 155.6 kB / 0.5303 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3277, allocations: 1.375 kB / 0.5303 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3278, allocations: 52.02 kB / 0.5304 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3282, allocations: 31.39 kB / 0.5304 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/0.329, allocations: 380 kB / 0.5308 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.3291, allocations: 99.58 kB / 0.5309 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.3291, allocations: 19.22 kB / 0.5309 GB, free: 5.305 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3291, allocations: 0 / 0.5309 GB, free: 5.305 MB / 382.1 MB Notification: Performance of Templates: time 0.004/0.3331, allocations: 1.734 MB / 0.5326 GB, free: 5.168 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.621755233965814] Failed to read output from testmodel.py, exit status != 0: 0.3431843053549528 0.36073915199999995 0.039527634 Calling exit ...