Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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.00143/0.00143, allocations: 104.3 kB / 19.72 MB, free: 1.77 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.001505/0.001505, allocations: 207.3 kB / 23 MB, free: 4.633 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.541/1.541, 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.1268/0.1268, allocations: 24.04 MB / 337.2 MB, free: 11.42 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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",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.00211/0.00211, allocations: 71.89 kB / 473.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 59.57 MB / 0.5209 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002748/0.3703, allocations: 1.885 MB / 0.5228 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000332/0.3706, allocations: 140.9 kB / 0.5229 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.3707, allocations: 6.438 kB / 0.5229 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.016e-05/0.3708, allocations: 20.09 kB / 0.5229 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3709, allocations: 54.67 kB / 0.523 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.371, allocations: 34.33 kB / 0.523 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3712, allocations: 173 kB / 0.5232 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.3715, allocations: 76.22 kB / 0.5232 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3716, allocations: 61.94 kB / 0.5233 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3717, allocations: 60.27 kB / 0.5234 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.3717, allocations: 10.84 kB / 0.5234 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.291e-05/0.3718, allocations: 11.62 kB / 0.5234 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.3718, allocations: 27 kB / 0.5234 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.3719, allocations: 61.97 kB / 0.5235 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3721, allocations: 156.9 kB / 0.5236 GB, free: 8.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3721, allocations: 1.875 kB / 0.5236 GB, free: 8.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3721, allocations: 0 / 0.5236 GB, free: 8.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3721, allocations: 4 kB / 0.5236 GB, free: 8.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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005753/0.3727, allocations: 371 kB / 0.524 GB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3727, allocations: 11.86 kB / 0.524 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.3728, allocations: 39.78 kB / 0.524 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.3728, allocations: 16.81 kB / 0.524 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3731, allocations: 170.8 kB / 0.5242 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3731, allocations: 3.844 kB / 0.5242 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3731, allocations: 11.73 kB / 0.5242 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3733, allocations: 120.6 kB / 0.5243 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3733, allocations: 11.88 kB / 0.5243 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3734, allocations: 5.219 kB / 0.5243 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3734, allocations: 2.125 kB / 0.5243 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3735, allocations: 61.73 kB / 0.5244 GB, free: 7.688 MB / 382.1 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) * Candidate: P.port.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.000772/0.3743, allocations: 0.4958 MB / 0.5249 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3744, allocations: 51.27 kB / 0.5249 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.3745, allocations: 25.23 kB / 0.525 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3745, allocations: 1.156 kB / 0.525 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3745, allocations: 32.14 kB / 0.525 GB, free: 7.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.3745, allocations: 0 / 0.525 GB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002226/0.3747, allocations: 76.16 kB / 0.5251 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.3747, allocations: 51.97 kB / 0.5251 GB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3749, allocations: 201.6 kB / 0.5253 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3749, allocations: 25.7 kB / 0.5253 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.375, allocations: 129.7 kB / 0.5255 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.375, allocations: 10.19 kB / 0.5255 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.375, allocations: 26.08 kB / 0.5255 GB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.3751, allocations: 322.6 kB / 0.5258 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.3752, allocations: 11.95 kB / 0.5258 GB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.3752, allocations: 29.94 kB / 0.5258 GB, free: 6.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.3755, allocations: 77.44 kB / 0.5259 GB, free: 6.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3755, allocations: 0 / 0.5259 GB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.3756, allocations: 92.81 kB / 0.526 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3757, allocations: 11.08 kB / 0.526 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3757, allocations: 128 / 0.526 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3757, allocations: 5 kB / 0.526 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3758, allocations: 20.14 kB / 0.526 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3758, allocations: 5.375 kB / 0.526 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.3759, allocations: 10.2 kB / 0.5261 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3759, allocations: 2.188 kB / 0.5261 GB, free: 6.262 MB / 382.1 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: 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 (7): * Single equations (assignments): 7 * 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.0001125/0.376, allocations: 126.3 kB / 0.5262 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.376, allocations: 21.44 kB / 0.5262 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.376, allocations: 17.31 kB / 0.5262 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.376, allocations: 0 / 0.5262 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3761, allocations: 1.094 kB / 0.5262 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3761, allocations: 0 / 0.5262 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3762, allocations: 169.3 kB / 0.5264 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3762, allocations: 0 / 0.5264 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.3763, allocations: 9.703 kB / 0.5264 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3763, allocations: 3.938 kB / 0.5264 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3763, allocations: 5.766 kB / 0.5264 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3763, allocations: 1.234 kB / 0.5264 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3763, allocations: 8.734 kB / 0.5264 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.3765, allocations: 183.4 kB / 0.5266 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.3766, allocations: 12.7 kB / 0.5266 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3766, allocations: 2.141 kB / 0.5266 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.3767, allocations: 0.75 kB / 0.5266 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.3767, allocations: 1.875 kB / 0.5266 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3767, allocations: 1.703 kB / 0.5266 GB, free: 5.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.3768, allocations: 148.7 kB / 0.5267 GB, free: 5.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3768, allocations: 0.9062 kB / 0.5267 GB, free: 5.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3771, allocations: 29.69 kB / 0.5268 GB, free: 5.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0003089/0.3774, allocations: 0.7132 MB / 0.5275 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3775, allocations: 30.95 kB / 0.5275 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3775, allocations: 0 / 0.5275 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.3775, allocations: 13.34 kB / 0.5275 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3778, allocations: 33.11 kB / 0.5275 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3795, allocations: 1.795 MB / 0.5293 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.664e-05/0.3796, allocations: 103.5 kB / 0.5294 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.929e-05/0.3796, allocations: 19.28 kB / 0.5294 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.3797, allocations: 42.67 kB / 0.5294 GB, free: 3.367 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3797, allocations: 0 / 0.5294 GB, free: 3.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.4116, allocations: 3.737 MB / 0.5331 GB, free: 2.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.72, allocations: 5.141 kB / 0.5331 GB, free: 2.387 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_002_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_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.838630354963243] Failed to read output from testmodel.py, exit status != 0: 11.826257441192865 11.852127423 11.474747515 Calling exit ...