Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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.001045/0.001045, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.001307/0.001307, allocations: 165.2 kB / 23.23 MB, free: 1.336 MB / 18.57 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 0.9051/0.9051, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.06232/0.06232, allocations: 18.12 MB / 278.1 MB, free: 11.53 MB / 266.7 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_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 415.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.957e-05, allocations: 5.375 kB / 415.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.00218/0.002199, allocations: 1.988 MB / 417.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.002507, allocations: 179.2 kB / 417.2 MB, free: 12.28 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.002588, allocations: 7.938 kB / 417.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.002643, allocations: 23.72 kB / 417.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.00289, allocations: 75.34 kB / 417.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.003018, allocations: 35.94 kB / 417.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.003171, allocations: 230.8 kB / 417.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.003365, allocations: 92.75 kB / 417.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.003458, allocations: 75.77 kB / 417.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.003552, allocations: 63.81 kB / 417.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.003578, allocations: 15.94 kB / 417.8 MB, free: 11.67 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.003596, allocations: 16 kB / 417.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.003625, allocations: 35.83 kB / 417.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.003674, allocations: 59.86 kB / 418 MB, free: 11.56 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.003852, allocations: 203.3 kB / 418.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003854, allocations: 0 / 418.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.003855, allocations: 4 kB / 418.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.003858, allocations: 0 / 418.2 MB, free: 11.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000446/0.004304, allocations: 409.5 kB / 418.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004344, allocations: 8.922 kB / 418.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.004381, allocations: 46.73 kB / 418.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.004409, allocations: 20.8 kB / 418.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.004633, allocations: 177.4 kB / 418.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.004649, allocations: 8.656 kB / 418.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.004673, allocations: 16.38 kB / 418.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.004847, allocations: 128.4 kB / 419 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004855, allocations: 8.188 kB / 419 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.004869, allocations: 8.312 kB / 419 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004875, allocations: 8.125 kB / 419 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.004986, allocations: 72.81 kB / 419.1 MB, free: 10.39 MB / 394.7 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.005599, allocations: 445.9 kB / 419.5 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.005702, allocations: 46.56 kB / 419.5 MB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.005741, allocations: 20.94 kB / 419.6 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.005759, allocations: 8 kB / 419.6 MB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.00579, allocations: 34.56 kB / 419.6 MB, free: 9.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005791, allocations: 3.938 kB / 419.6 MB, free: 9.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001935/0.005985, allocations: 77.59 kB / 419.7 MB, free: 9.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.00602, allocations: 55.41 kB / 419.7 MB, free: 9.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.006182, allocations: 233.7 kB / 420 MB, free: 9.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.006195, allocations: 25.7 kB / 420 MB, free: 9.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.006274, allocations: 144 kB / 420.1 MB, free: 9.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.006289, allocations: 15.91 kB / 420.1 MB, free: 9.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.006325, allocations: 25.7 kB / 420.2 MB, free: 9.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.334e-05/0.006419, allocations: 334.8 kB / 420.5 MB, free: 8.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.006455, allocations: 19.98 kB / 420.5 MB, free: 8.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.006503, allocations: 47.31 kB / 420.6 MB, free: 8.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.006739, allocations: 99.52 kB / 420.7 MB, free: 8.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006742, allocations: 0 / 420.7 MB, free: 8.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001356/0.006877, allocations: 109.5 kB / 420.8 MB, free: 8.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.006892, allocations: 4.062 kB / 420.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006899, allocations: 8 kB / 420.8 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.006912, allocations: 0 / 420.8 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.00724, allocations: 35.98 kB / 420.8 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.007248, allocations: 7.938 kB / 420.8 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.007296, allocations: 15.84 kB / 420.8 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.007304, allocations: 4 kB / 420.8 MB, free: 8.457 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001322/0.007436, allocations: 137.7 kB / 421 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.007456, allocations: 15.91 kB / 421 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.007486, allocations: 21.33 kB / 421 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007488, allocations: 0 / 421 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.007493, allocations: 192 / 421 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007496, allocations: 0 / 421 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.007894, allocations: 375.2 kB / 421.4 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.007898, allocations: 8.156 kB / 421.4 MB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.00795, allocations: 15.92 kB / 421.4 MB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.007953, allocations: 4 kB / 421.4 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007961, allocations: 0 / 421.4 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.007963, allocations: 0 / 421.4 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.007966, allocations: 7.922 kB / 421.4 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.008148, allocations: 197.1 kB / 421.6 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.008169, allocations: 15.94 kB / 421.6 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.00819, allocations: 4 kB / 421.6 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.00824, allocations: 0 / 421.6 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.008261, allocations: 15.86 kB / 421.6 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008265, allocations: 4.062 kB / 421.6 MB, free: 7.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.008361, allocations: 165.2 kB / 421.8 MB, free: 7.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008361, allocations: 0 / 421.8 MB, free: 7.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.008532, allocations: 35.92 kB / 421.8 MB, free: 7.367 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (header.T) * 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 (4): * Single equations (assignments): 4 * 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.0003517/0.008884, allocations: 0.7302 MB / 422.6 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.008992, allocations: 47.92 kB / 422.6 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008994, allocations: 3.938 kB / 422.6 MB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.009016, allocations: 20.19 kB / 422.6 MB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.009242, allocations: 36.64 kB / 422.7 MB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.0108, allocations: 1.955 MB / 424.6 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.01087, allocations: 112.3 kB / 424.7 MB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.01091, allocations: 17.47 kB / 424.8 MB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.01097, allocations: 56.48 kB / 424.8 MB, free: 4.227 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01097, allocations: 0 / 424.8 MB, free: 4.227 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.02777, allocations: 4.24 MB / 429 MB, free: 148 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.892, allocations: 5.062 kB / 429.1 MB, free: 144 kB / 394.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_001_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.849073128774762] Failed to read output from testmodel.py, exit status != 0: 6.979826784692705 6.991661897 6.9861104 Calling exit ...