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.001432/0.001432, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001614/0.001614, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.1106/0.1106, allocations: 24.12 MB / 333 MB, free: 12.61 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_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: 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.00233/0.00233, allocations: 71.89 kB / 467.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3735, allocations: 59.56 MB / 0.5151 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003753/0.3772, allocations: 2.108 MB / 0.5171 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.3777, allocations: 179.8 kB / 0.5173 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3778, allocations: 6.281 kB / 0.5173 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.3779, allocations: 25.41 kB / 0.5173 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.3781, allocations: 78.67 kB / 0.5174 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3783, allocations: 32.64 kB / 0.5174 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.3786, allocations: 221.2 kB / 0.5177 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.3789, allocations: 88.92 kB / 0.5177 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3791, allocations: 85.44 kB / 0.5178 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3793, allocations: 83.88 kB / 0.5179 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.3793, allocations: 14.91 kB / 0.5179 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.3794, allocations: 15.09 kB / 0.5179 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.3794, allocations: 36.81 kB / 0.518 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.3796, allocations: 94.03 kB / 0.5181 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.38, allocations: 208.3 kB / 0.5182 GB, free: 7.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.38, allocations: 0 / 0.5182 GB, free: 7.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.38, allocations: 0 / 0.5182 GB, free: 7.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.38, allocations: 1.312 kB / 0.5183 GB, free: 7.602 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006638/0.3806, allocations: 476.6 kB / 0.5187 GB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.3807, allocations: 11.28 kB / 0.5187 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.3807, allocations: 45.52 kB / 0.5188 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.3808, allocations: 27.58 kB / 0.5188 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3811, allocations: 251.8 kB / 0.519 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3811, allocations: 10.72 kB / 0.519 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.3812, allocations: 14 kB / 0.519 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.3815, allocations: 126.5 kB / 0.5192 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3815, allocations: 7.875 kB / 0.5192 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3815, allocations: 5.406 kB / 0.5192 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3815, allocations: 3.625 kB / 0.5192 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3817, allocations: 79.22 kB / 0.5193 GB, free: 6.73 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.3827, allocations: 0.6598 MB / 0.5199 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3828, allocations: 52.77 kB / 0.52 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.3829, allocations: 22.64 kB / 0.52 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3829, allocations: 0 / 0.52 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3829, allocations: 36.52 kB / 0.52 GB, free: 6.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3829, allocations: 1.062 kB / 0.52 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.3831, allocations: 84.06 kB / 0.5201 GB, free: 6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3831, allocations: 53.39 kB / 0.5201 GB, free: 5.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3834, allocations: 222.6 kB / 0.5204 GB, free: 5.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3834, allocations: 25.7 kB / 0.5204 GB, free: 5.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.3834, allocations: 155.3 kB / 0.5205 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3835, allocations: 23.45 kB / 0.5206 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.3835, allocations: 21.56 kB / 0.5206 GB, free: 5.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.3836, allocations: 336.8 kB / 0.5209 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.3836, allocations: 19.47 kB / 0.5209 GB, free: 5.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.3837, allocations: 44.08 kB / 0.521 GB, free: 5.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3839, allocations: 95.81 kB / 0.521 GB, free: 5.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3839, allocations: 1.062 kB / 0.521 GB, free: 5.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.3841, allocations: 110.8 kB / 0.5212 GB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3841, allocations: 5.844 kB / 0.5212 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3841, allocations: 1.094 kB / 0.5212 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3841, allocations: 1.719 kB / 0.5212 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3844, allocations: 45.83 kB / 0.5212 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3844, allocations: 1.609 kB / 0.5212 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.3845, allocations: 12.3 kB / 0.5212 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3845, allocations: 3.328 kB / 0.5212 GB, free: 5.066 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: 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.0001194/0.3846, allocations: 128 kB / 0.5213 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.3847, allocations: 18.89 kB / 0.5214 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.3847, allocations: 20.42 kB / 0.5214 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3847, allocations: 5.406 kB / 0.5214 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3847, allocations: 4.75 kB / 0.5214 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3847, allocations: 5 kB / 0.5214 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.3852, allocations: 412.6 kB / 0.5218 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3852, allocations: 0 / 0.5218 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.3853, allocations: 11.72 kB / 0.5218 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3853, allocations: 5.406 kB / 0.5218 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3853, allocations: 5.844 kB / 0.5218 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3853, allocations: 1.844 kB / 0.5218 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3853, allocations: 5.062 kB / 0.5218 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3855, allocations: 197.3 kB / 0.522 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.3855, allocations: 99.19 kB / 0.5221 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3856, allocations: 11.14 kB / 0.5221 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.3856, allocations: 0 / 0.5221 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.3857, allocations: 3.938 kB / 0.5221 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3857, allocations: 3.375 kB / 0.5221 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.3858, allocations: 165.6 kB / 0.5223 GB, free: 4.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3858, allocations: 192 / 0.5223 GB, free: 4.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3861, allocations: 27.56 kB / 0.5223 GB, free: 4.137 MB / 382.1 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.0003427/0.3864, allocations: 0.7392 MB / 0.523 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.3866, allocations: 45.73 kB / 0.5231 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3866, allocations: 0 / 0.5231 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.3866, allocations: 19.3 kB / 0.5231 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.387, allocations: 38.39 kB / 0.5231 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.3889, allocations: 1.982 MB / 0.5251 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.3891, allocations: 0.7232 MB / 0.5258 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.3892, allocations: 15.22 kB / 0.5258 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3892, allocations: 56.09 kB / 0.5258 GB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3892, allocations: 0 / 0.5258 GB, free: 1.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.417, allocations: 3.398 MB / 0.5291 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.49, allocations: 9.562 kB / 0.5292 GB, free: 0.5742 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.448226271895692] Failed to read output from testmodel.py, exit status != 0: 8.564131475053728 8.589066572 8.204204878 Calling exit ...