Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.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.001304/0.001304, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00151/0.00151, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.103/0.103, allocations: 22.94 MB / 336.2 MB, free: 12.41 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: "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="cs",version="2.0",platforms={"static"}) [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.001929/0.001929, allocations: 67.89 kB / 472.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 59.28 MB / 0.519 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003059/0.3305, allocations: 1.78 MB / 0.5207 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000423/0.3309, allocations: 178.4 kB / 0.5209 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.331, allocations: 1.344 kB / 0.5209 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.3311, allocations: 20.55 kB / 0.5209 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3312, allocations: 53.11 kB / 0.521 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.3314, allocations: 65.36 kB / 0.521 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3317, allocations: 227.6 kB / 0.5213 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3319, allocations: 97.77 kB / 0.5214 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.332, allocations: 95.83 kB / 0.5214 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3322, allocations: 108.3 kB / 0.5215 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.3323, allocations: 22.09 kB / 0.5216 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/0.3323, allocations: 26.41 kB / 0.5216 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.3323, allocations: 51.7 kB / 0.5216 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.3324, allocations: 82.83 kB / 0.5217 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3327, allocations: 215.8 kB / 0.5219 GB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3327, allocations: 0.75 kB / 0.5219 GB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3327, allocations: 0 / 0.5219 GB, free: 8.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3327, allocations: 3.938 kB / 0.5219 GB, free: 8.801 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.0008317/0.3335, allocations: 405.4 kB / 0.5223 GB, free: 8.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3336, allocations: 11.17 kB / 0.5223 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.3336, allocations: 2.562 kB / 0.5223 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.3336, allocations: 44.83 kB / 0.5224 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.3337, allocations: 19.31 kB / 0.5224 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3338, allocations: 142.1 kB / 0.5225 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3339, allocations: 52.83 kB / 0.5226 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.334, allocations: 14.77 kB / 0.5226 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/0.3349, allocations: 297.5 kB / 0.5229 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3349, allocations: 3.938 kB / 0.5229 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3349, allocations: 6.344 kB / 0.5229 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3349, allocations: 6.781 kB / 0.5229 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.3357, allocations: 223 kB / 0.5231 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3376, allocations: 0.8681 MB / 0.524 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.3378, allocations: 105.9 kB / 0.5241 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.3379, allocations: 38.03 kB / 0.5241 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3379, allocations: 1.094 kB / 0.5241 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.3379, allocations: 37.83 kB / 0.5241 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.3379, allocations: 5.344 kB / 0.5241 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001674/0.3396, allocations: 0.5587 MB / 0.5247 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.3396, allocations: 57.33 kB / 0.5247 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3398, allocations: 189.2 kB / 0.5249 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3398, allocations: 34.61 kB / 0.5249 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.3399, allocations: 122.1 kB / 0.5251 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3399, allocations: 60.08 kB / 0.5251 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.34, allocations: 37.91 kB / 0.5252 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.34, allocations: 327 kB / 0.5255 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.3401, allocations: 43.45 kB / 0.5255 GB, free: 6.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.3402, allocations: 92.73 kB / 0.5256 GB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007841/0.341, allocations: 312.7 kB / 0.5259 GB, free: 6.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.341, allocations: 1.312 kB / 0.5259 GB, free: 6.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002621/0.3412, allocations: 188.8 kB / 0.5261 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3412, allocations: 6.031 kB / 0.5261 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3412, allocations: 1.25 kB / 0.5261 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3413, allocations: 3.594 kB / 0.5261 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.3415, allocations: 54.28 kB / 0.5261 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3415, allocations: 14.83 kB / 0.5262 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.3416, allocations: 2.938 kB / 0.5262 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3416, allocations: 13.88 kB / 0.5262 GB, free: 5.898 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * 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.0002078/0.3418, allocations: 138.9 kB / 0.5263 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3419, allocations: 16.61 kB / 0.5263 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3419, allocations: 27.36 kB / 0.5263 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3419, allocations: 2.125 kB / 0.5263 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3419, allocations: 3.938 kB / 0.5263 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3419, allocations: 1.25 kB / 0.5263 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.3425, allocations: 456.9 kB / 0.5268 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3425, allocations: 8.25 kB / 0.5268 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.3427, allocations: 44.59 kB / 0.5268 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3427, allocations: 1.312 kB / 0.5268 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3428, allocations: 1.156 kB / 0.5268 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.3428, allocations: 5.281 kB / 0.5268 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3428, allocations: 0 / 0.5268 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.3431, allocations: 294.4 kB / 0.5271 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.3431, allocations: 21.47 kB / 0.5271 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3431, allocations: 4.906 kB / 0.5271 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3432, allocations: 1.188 kB / 0.5271 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.3433, allocations: 7.078 kB / 0.5272 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.3433, allocations: 6.875 kB / 0.5272 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.194e-05/0.3434, allocations: 137.9 kB / 0.5273 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 0 / 0.5273 GB, free: 5.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000283/0.3436, allocations: 44.62 kB / 0.5273 GB, free: 5.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (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 Backend phase and start with SimCode phase: time 0.0004683/0.3441, allocations: 0.818 MB / 0.5281 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3443, allocations: 120.5 kB / 0.5283 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3443, allocations: 1.156 kB / 0.5283 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.3444, allocations: 49.75 kB / 0.5283 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3448, allocations: 38.48 kB / 0.5283 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.347, allocations: 2.206 MB / 0.5305 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.3471, allocations: 103.4 kB / 0.5306 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.3471, allocations: 15.42 kB / 0.5306 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3472, allocations: 41.08 kB / 0.5306 GB, free: 2.375 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3472, allocations: 0 / 0.5306 GB, free: 2.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.3756, allocations: 4.085 MB / 0.5346 GB, free: 1.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 5.906 kB / 0.5346 GB, free: 1.719 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_001_fmu --startTime=0 --stopTime=86400 --stepSize=8.64 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.712701876997016] Failed to read output from testmodel.py, exit status != 0: 12.018366865930147 12.034949138 11.69906863 Calling exit ...