Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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.001706/0.001706, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00165/0.00165, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1023/0.1023, allocations: 22.93 MB / 336.2 MB, free: 12.38 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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",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.002075/0.002075, allocations: 63.89 kB / 472.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 59.28 MB / 0.519 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003731/0.3646, allocations: 2.949 MB / 0.5219 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3662, allocations: 0.9047 MB / 0.5228 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3664, allocations: 4.531 kB / 0.5228 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.3665, allocations: 69.47 kB / 0.5228 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.3669, allocations: 180.5 kB / 0.523 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.3674, allocations: 197.4 kB / 0.5232 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006883/0.3681, allocations: 0.7428 MB / 0.5239 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.3686, allocations: 362.5 kB / 0.5243 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.3689, allocations: 316.8 kB / 0.5246 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.3694, allocations: 398.5 kB / 0.525 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3695, allocations: 81.19 kB / 0.525 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3696, allocations: 76.72 kB / 0.5251 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.3698, allocations: 203.2 kB / 0.5253 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.3701, allocations: 300.4 kB / 0.5256 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009041/0.371, allocations: 0.7944 MB / 0.5264 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.371, allocations: 1.156 kB / 0.5264 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.371, allocations: 0 / 0.5264 GB, free: 6.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.371, allocations: 0 / 0.5264 GB, free: 6.359 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002239/0.3733, allocations: 0.8424 MB / 0.5272 GB, free: 5.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.3733, allocations: 11.33 kB / 0.5272 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.246e-05/0.3734, allocations: 11.78 kB / 0.5272 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.3735, allocations: 96.69 kB / 0.5273 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3737, allocations: 69.91 kB / 0.5274 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.3743, allocations: 332.1 kB / 0.5277 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.3745, allocations: 108.4 kB / 0.5278 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.3746, allocations: 54.56 kB / 0.5278 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.3763, allocations: 0.7337 MB / 0.5286 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.3763, allocations: 1.094 kB / 0.5286 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.3764, allocations: 20.06 kB / 0.5286 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.3764, allocations: 11.94 kB / 0.5286 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.3779, allocations: 0.5986 MB / 0.5292 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005424/0.3833, allocations: 2.364 MB / 0.5315 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.3844, allocations: 0.5214 MB / 0.532 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009237/0.3854, allocations: 391.4 kB / 0.5324 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.3854, allocations: 9.688 kB / 0.5324 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3855, allocations: 42.11 kB / 0.5324 GB, free: 3.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.547e-06/0.3855, allocations: 3.938 kB / 0.5324 GB, free: 3.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.00616/0.3916, allocations: 2.179 MB / 0.5345 GB, free: 2.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.3916, allocations: 61.38 kB / 0.5346 GB, free: 2.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.3921, allocations: 359.4 kB / 0.5349 GB, free: 2.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3921, allocations: 39.98 kB / 0.535 GB, free: 1.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3922, allocations: 234 kB / 0.5352 GB, free: 1.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3924, allocations: 194.3 kB / 0.5354 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.3926, allocations: 101.5 kB / 0.5355 GB, free: 1.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.3926, allocations: 360.7 kB / 0.5358 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.3935, allocations: 369.7 kB / 0.5362 GB, free: 1.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.3944, allocations: 428.4 kB / 0.5366 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/0.4011, allocations: 2.001 MB / 0.5385 GB, free: 388 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4011, allocations: 0 / 0.5385 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00188/0.403, allocations: 0.857 MB / 0.5394 GB, free: 52 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.403, allocations: 7.188 kB / 0.5394 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.403, allocations: 2.281 kB / 0.5394 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.403, allocations: 4 kB / 0.5394 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/0.409, allocations: 0.901 MB / 0.5403 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/0.409, allocations: 8.109 kB / 0.5403 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.4098, allocations: 56.81 kB / 0.5403 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.4098, allocations: 23.11 kB / 0.5404 GB, free: 15.79 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real 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 H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0005072/0.4103, allocations: 217.1 kB / 0.5406 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4104, allocations: 44.34 kB / 0.5406 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.4125, allocations: 0.8242 MB / 0.5414 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4125, allocations: 6.078 kB / 0.5414 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4125, allocations: 0 / 0.5414 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.4125, allocations: 3.984 kB / 0.5414 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/0.4162, allocations: 1.664 MB / 0.5431 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4162, allocations: 1.219 kB / 0.5431 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005757/0.4219, allocations: 0.89 MB / 0.5439 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.422, allocations: 3.25 kB / 0.5439 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.422, allocations: 22.3 kB / 0.5439 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.422, allocations: 2.625 kB / 0.5439 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.422, allocations: 1.25 kB / 0.5439 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.4248, allocations: 1.28 MB / 0.5452 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.425, allocations: 39.28 kB / 0.5452 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4251, allocations: 21.39 kB / 0.5453 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.4256, allocations: 53.56 kB / 0.5453 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.4258, allocations: 78.5 kB / 0.5454 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.4258, allocations: 19.98 kB / 0.5454 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.4261, allocations: 256.5 kB / 0.5456 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4261, allocations: 0 / 0.5456 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.4267, allocations: 145.1 kB / 0.5458 GB, free: 12.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (53): * Single equations (assignments): 53 * 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.003187/0.4299, allocations: 1.833 MB / 0.5476 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.4318, allocations: 0.7453 MB / 0.5483 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4318, allocations: 1.406 kB / 0.5483 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.4327, allocations: 408.3 kB / 0.5487 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.4334, allocations: 110.1 kB / 0.5488 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.4456, allocations: 6.165 MB / 0.5548 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.446, allocations: 259.5 kB / 0.5551 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005131/0.4465, allocations: 94.8 kB / 0.5552 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.4469, allocations: 191 kB / 0.5553 GB, free: 6.445 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4469, allocations: 0 / 0.5553 GB, free: 6.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.4863, allocations: 13.96 MB / 0.569 GB, free: 9.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.9, allocations: 6.875 kB / 0.569 GB, free: 9.629 MB / 414.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_002_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.942625552997924] Failed to read output from testmodel.py, exit status != 0: 13.072669057059102 13.087292641 12.713259845 Calling exit ...