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.001405/0.001405, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001515/0.001515, allocations: 212.1 kB / 23.01 MB, free: 4.992 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1094/0.1094, allocations: 24.03 MB / 337.2 MB, free: 11.36 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.002076/0.002076, allocations: 69.55 kB / 473.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3979, allocations: 59.58 MB / 0.5209 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.00325/0.4011, allocations: 1.884 MB / 0.5228 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.4015, allocations: 144.5 kB / 0.5229 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4016, allocations: 6.625 kB / 0.5229 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.006e-05/0.4017, allocations: 20.59 kB / 0.5229 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.4018, allocations: 51.03 kB / 0.523 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.402, allocations: 41.77 kB / 0.523 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.4022, allocations: 167.8 kB / 0.5232 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.4025, allocations: 78.39 kB / 0.5232 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.4026, allocations: 63.81 kB / 0.5233 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.4027, allocations: 57 kB / 0.5234 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.4028, allocations: 11.78 kB / 0.5234 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.565e-05/0.4028, allocations: 9.875 kB / 0.5234 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.4028, allocations: 31.33 kB / 0.5234 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.4029, allocations: 59.12 kB / 0.5235 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.4032, allocations: 164.6 kB / 0.5236 GB, free: 8.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4032, allocations: 5.125 kB / 0.5236 GB, free: 8.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4032, allocations: 0 / 0.5236 GB, free: 8.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4032, allocations: 0 / 0.5236 GB, free: 8.387 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.000631/0.4038, allocations: 368.3 kB / 0.524 GB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4039, allocations: 10.86 kB / 0.524 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.4039, allocations: 44.28 kB / 0.524 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.404, allocations: 16.62 kB / 0.524 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4042, allocations: 158.6 kB / 0.5242 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4042, allocations: 8.844 kB / 0.5242 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.4043, allocations: 10.88 kB / 0.5242 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.4045, allocations: 124.1 kB / 0.5243 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4045, allocations: 5.031 kB / 0.5243 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4046, allocations: 5.062 kB / 0.5243 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4046, allocations: 2.312 kB / 0.5243 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.4047, allocations: 65.86 kB / 0.5244 GB, free: 7.723 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.0008105/0.4055, allocations: 0.4975 MB / 0.5249 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4057, allocations: 47.62 kB / 0.5249 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.4057, allocations: 25.52 kB / 0.525 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4057, allocations: 5.156 kB / 0.525 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4057, allocations: 32.28 kB / 0.525 GB, free: 7.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4057, allocations: 0 / 0.525 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002234/0.406, allocations: 75.56 kB / 0.5251 GB, free: 7.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.406, allocations: 52.97 kB / 0.5251 GB, free: 7.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.4062, allocations: 196.7 kB / 0.5253 GB, free: 6.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.4062, allocations: 26.5 kB / 0.5253 GB, free: 6.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.4062, allocations: 132.6 kB / 0.5255 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.4063, allocations: 7.891 kB / 0.5255 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4063, allocations: 19.83 kB / 0.5255 GB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.4064, allocations: 327.9 kB / 0.5258 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.4064, allocations: 15.48 kB / 0.5258 GB, free: 6.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.4065, allocations: 30.17 kB / 0.5258 GB, free: 6.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.4068, allocations: 77.44 kB / 0.5259 GB, free: 6.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4068, allocations: 3.938 kB / 0.5259 GB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001539/0.4069, allocations: 97.89 kB / 0.526 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4069, allocations: 4.469 kB / 0.526 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4069, allocations: 1.219 kB / 0.526 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.407, allocations: 1.891 kB / 0.526 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4071, allocations: 16.94 kB / 0.526 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4071, allocations: 1.219 kB / 0.526 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.4072, allocations: 11.44 kB / 0.526 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4072, allocations: 2.594 kB / 0.526 GB, free: 6.297 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.0001321/0.4073, allocations: 126.3 kB / 0.5262 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.4073, allocations: 18.34 kB / 0.5262 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.4074, allocations: 19.8 kB / 0.5262 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4074, allocations: 0 / 0.5262 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4074, allocations: 1.406 kB / 0.5262 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4074, allocations: 0.6562 kB / 0.5262 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.4076, allocations: 170.5 kB / 0.5264 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4076, allocations: 5.031 kB / 0.5264 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.4077, allocations: 8.547 kB / 0.5264 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4077, allocations: 1.156 kB / 0.5264 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4077, allocations: 5.062 kB / 0.5264 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4077, allocations: 80 / 0.5264 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4077, allocations: 3.984 kB / 0.5264 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4079, allocations: 185.3 kB / 0.5266 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.4079, allocations: 16.05 kB / 0.5266 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.408, allocations: 1.594 kB / 0.5266 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.4081, allocations: 0.6562 kB / 0.5266 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.4081, allocations: 2.891 kB / 0.5266 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.4081, allocations: 1.062 kB / 0.5266 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4082, allocations: 151.3 kB / 0.5267 GB, free: 5.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4082, allocations: 4.062 kB / 0.5267 GB, free: 5.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.4085, allocations: 24.75 kB / 0.5268 GB, free: 5.688 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.0003683/0.4088, allocations: 0.715 MB / 0.5275 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.409, allocations: 35.53 kB / 0.5275 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.409, allocations: 0 / 0.5275 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.409, allocations: 14.39 kB / 0.5275 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4093, allocations: 39.98 kB / 0.5275 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.4109, allocations: 1.792 MB / 0.5293 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.411, allocations: 99.67 kB / 0.5294 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.411, allocations: 19.27 kB / 0.5294 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.4111, allocations: 41.38 kB / 0.5294 GB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4111, allocations: 1.188 kB / 0.5295 GB, free: 3.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.4432, allocations: 3.732 MB / 0.5331 GB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 8.031 kB / 0.5331 GB, free: 2.414 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_002_fmu --startTime=0 --stopTime=86400 --stepSize=8.64 --timeout=50 --tolerance=1e-06 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.374510960653424] Failed to read output from testmodel.py, exit status != 0: 11.644703566096723 11.661306308 11.25490586 Calling exit ...