Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001376/0.001376, allocations: 105.3 kB / 16.45 MB, free: 6.453 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.001563/0.001563, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1058/0.1058, allocations: 24.03 MB / 332.9 MB, free: 12.7 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.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") [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.002054/0.002054, allocations: 76.08 kB / 468.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4172, allocations: 59.53 MB / 0.5154 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.00233/0.4195, allocations: 0.7191 MB / 0.5161 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.4197, allocations: 23.34 kB / 0.5161 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.4197, allocations: 0.5625 kB / 0.5161 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.4198, allocations: 0 / 0.5161 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.4198, allocations: 5.906 kB / 0.5161 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.87e-05/0.4199, allocations: 11.22 kB / 0.5161 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.42, allocations: 19.25 kB / 0.5161 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4201, allocations: 7.812 kB / 0.5161 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.4202, allocations: 9.109 kB / 0.5161 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.4203, allocations: 18.78 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.4203, allocations: 1.312 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.4203, allocations: 1.906 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.4203, allocations: 2.328 kB / 0.5162 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.4203, allocations: 11.61 kB / 0.5162 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.4204, allocations: 22.08 kB / 0.5162 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4205, allocations: 4.609 kB / 0.5162 GB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4205, allocations: 3.938 kB / 0.5162 GB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.4205, allocations: 0.6875 kB / 0.5162 GB, free: 9.578 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003678/0.4208, allocations: 330.2 kB / 0.5165 GB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4209, allocations: 9.219 kB / 0.5165 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.4209, allocations: 2.844 kB / 0.5165 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.421, allocations: 164.1 kB / 0.5167 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.421, allocations: 1.656 kB / 0.5167 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.421, allocations: 1.531 kB / 0.5167 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.4211, allocations: 49.59 kB / 0.5167 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4211, allocations: 192 / 0.5167 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4211, allocations: 5.219 kB / 0.5167 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4212, allocations: 0 / 0.5167 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.4212, allocations: 13.97 kB / 0.5168 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.4215, allocations: 258.4 kB / 0.517 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.4216, allocations: 44.55 kB / 0.5171 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.4217, allocations: 14.62 kB / 0.5171 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.4217, allocations: 2.109 kB / 0.5171 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.4217, allocations: 31.59 kB / 0.5171 GB, free: 8.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4217, allocations: 0 / 0.5171 GB, free: 8.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002013/0.4219, allocations: 53.98 kB / 0.5171 GB, free: 8.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4219, allocations: 51.41 kB / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.422, allocations: 104.8 kB / 0.5173 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.422, allocations: 26.23 kB / 0.5173 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.4221, allocations: 82.61 kB / 0.5174 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4221, allocations: 9.125 kB / 0.5174 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.4221, allocations: 18.67 kB / 0.5174 GB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.4222, allocations: 312.5 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.4222, allocations: 3.656 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.4222, allocations: 9.375 kB / 0.5177 GB, free: 7.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.4223, allocations: 19.83 kB / 0.5178 GB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4223, allocations: 5 kB / 0.5178 GB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8e-05/0.4223, allocations: 53.33 kB / 0.5178 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4224, allocations: 5.125 kB / 0.5178 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4224, allocations: 5.734 kB / 0.5178 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4224, allocations: 0 / 0.5178 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.4224, allocations: 13.47 kB / 0.5178 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4225, allocations: 1.438 kB / 0.5178 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.4225, allocations: 0 / 0.5178 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4225, allocations: 1.734 kB / 0.5178 GB, free: 7.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.257e-05/0.4225, allocations: 121.5 kB / 0.518 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.4226, allocations: 1.438 kB / 0.518 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.4227, allocations: 70.91 kB / 0.518 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4227, allocations: 8.625 kB / 0.518 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4227, allocations: 1.625 kB / 0.518 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4227, allocations: 4 kB / 0.518 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4229, allocations: 171.2 kB / 0.5182 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4229, allocations: 4 kB / 0.5182 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.4229, allocations: 12.48 kB / 0.5182 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4229, allocations: 1.156 kB / 0.5182 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.423, allocations: 0.5625 kB / 0.5182 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.423, allocations: 0.9688 kB / 0.5182 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.423, allocations: 0 / 0.5182 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.4231, allocations: 159.8 kB / 0.5184 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.4231, allocations: 83 kB / 0.5184 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.4231, allocations: 4.703 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.4232, allocations: 1.188 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.4232, allocations: 3.672 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4232, allocations: 1.859 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.118e-05/0.4232, allocations: 83.36 kB / 0.5185 GB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4232, allocations: 0 / 0.5185 GB, free: 7.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000222/0.4235, allocations: 3.469 kB / 0.5185 GB, free: 7.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0001055/0.4236, allocations: 97.11 kB / 0.5186 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.4237, allocations: 27.55 kB / 0.5187 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4237, allocations: 0 / 0.5187 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.4237, allocations: 10.72 kB / 0.5187 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.4241, allocations: 12.19 kB / 0.5187 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.4244, allocations: 117.5 kB / 0.5188 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4247, allocations: 0.6781 MB / 0.5195 GB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.4247, allocations: 7.719 kB / 0.5195 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.4247, allocations: 14.94 kB / 0.5195 GB, free: 6.219 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4247, allocations: 1.375 kB / 0.5195 GB, free: 6.219 MB / 382.1 MB Notification: Performance of Templates: time 0.00348/0.4282, allocations: 458.4 kB / 0.5199 GB, free: 6.16 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.127017198130488] Failed to read output from testmodel.py, exit status != 0: 0.4372621374204755 0.449252918 0.026240208 Calling exit ...