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.001475/0.001475, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.002081/0.002081, allocations: 217.6 kB / 22.25 MB, free: 5.137 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.039 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.1081/0.1081, allocations: 24.12 MB / 336.6 MB, free: 11.48 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.00307/0.00307, allocations: 71.89 kB / 473.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4264, allocations: 59.6 MB / 0.5204 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.004931/0.4313, allocations: 2.124 MB / 0.5225 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005217/0.4318, allocations: 174.5 kB / 0.5227 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.4319, allocations: 6.781 kB / 0.5227 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.432, allocations: 20.98 kB / 0.5227 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.4322, allocations: 75.61 kB / 0.5228 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.4325, allocations: 35.7 kB / 0.5228 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.4328, allocations: 224.8 kB / 0.523 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.4331, allocations: 86.41 kB / 0.5231 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.4333, allocations: 84.3 kB / 0.5232 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.4334, allocations: 87.56 kB / 0.5233 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.4335, allocations: 14.09 kB / 0.5233 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/0.4335, allocations: 15.53 kB / 0.5233 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.4336, allocations: 33.77 kB / 0.5233 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.4337, allocations: 96.84 kB / 0.5234 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.434, allocations: 200.5 kB / 0.5236 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4341, allocations: 0 / 0.5236 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4341, allocations: 5 kB / 0.5236 GB, free: 8.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4341, allocations: 0 / 0.5236 GB, free: 8.051 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.0006339/0.4347, allocations: 406 kB / 0.524 GB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4347, allocations: 10.42 kB / 0.524 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.4348, allocations: 46.42 kB / 0.524 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.4348, allocations: 22.2 kB / 0.5241 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.4352, allocations: 186.5 kB / 0.5242 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4352, allocations: 10.39 kB / 0.5243 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.4352, allocations: 13.81 kB / 0.5243 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4354, allocations: 126.8 kB / 0.5244 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4355, allocations: 3.938 kB / 0.5244 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4355, allocations: 5.031 kB / 0.5244 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4355, allocations: 3.469 kB / 0.5244 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4357, allocations: 75.72 kB / 0.5245 GB, free: 7.352 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.0008908/0.4365, allocations: 0.6354 MB / 0.5251 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4367, allocations: 46.81 kB / 0.5251 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.4367, allocations: 26.31 kB / 0.5252 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4367, allocations: 0 / 0.5252 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4368, allocations: 43.8 kB / 0.5252 GB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4368, allocations: 0 / 0.5252 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002648/0.437, allocations: 84.53 kB / 0.5253 GB, free: 6.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.4371, allocations: 51.41 kB / 0.5253 GB, free: 6.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.4373, allocations: 225.1 kB / 0.5255 GB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4373, allocations: 25.7 kB / 0.5256 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.4374, allocations: 148.6 kB / 0.5257 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.4374, allocations: 21.28 kB / 0.5257 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.4375, allocations: 24.12 kB / 0.5258 GB, free: 6.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.4376, allocations: 337 kB / 0.5261 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.4376, allocations: 15.42 kB / 0.5261 GB, free: 5.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.4377, allocations: 47.3 kB / 0.5261 GB, free: 5.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.438, allocations: 100.7 kB / 0.5262 GB, free: 5.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.438, allocations: 0 / 0.5262 GB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.4382, allocations: 106.8 kB / 0.5263 GB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4382, allocations: 6 kB / 0.5263 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4382, allocations: 1.312 kB / 0.5263 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4383, allocations: 2.984 kB / 0.5263 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.4385, allocations: 44.61 kB / 0.5264 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4385, allocations: 2.438 kB / 0.5264 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.4386, allocations: 20.3 kB / 0.5264 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4386, allocations: 3.453 kB / 0.5264 GB, free: 5.711 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.0001358/0.4388, allocations: 123.1 kB / 0.5265 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4388, allocations: 15.22 kB / 0.5265 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.4388, allocations: 16.62 kB / 0.5266 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4388, allocations: 4.938 kB / 0.5266 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4388, allocations: 1.656 kB / 0.5266 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4389, allocations: 3.938 kB / 0.5266 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.4393, allocations: 383.3 kB / 0.5269 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4394, allocations: 0.9062 kB / 0.5269 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.4394, allocations: 15.83 kB / 0.527 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4394, allocations: 5.25 kB / 0.527 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4394, allocations: 9.734 kB / 0.527 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4395, allocations: 1.031 kB / 0.527 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4395, allocations: 2.125 kB / 0.527 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.4397, allocations: 192.8 kB / 0.5272 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.4397, allocations: 22.56 kB / 0.5272 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4397, allocations: 9.844 kB / 0.5272 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.4398, allocations: 5.984 kB / 0.5272 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.4398, allocations: 3.141 kB / 0.5272 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4398, allocations: 7.297 kB / 0.5272 GB, free: 5.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.44, allocations: 162.2 kB / 0.5274 GB, free: 4.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.44, allocations: 1.406 kB / 0.5274 GB, free: 4.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.4402, allocations: 35.06 kB / 0.5274 GB, free: 4.91 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.0003654/0.4406, allocations: 0.7445 MB / 0.5281 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.4407, allocations: 46.92 kB / 0.5282 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4408, allocations: 0 / 0.5282 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.4408, allocations: 18.42 kB / 0.5282 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4411, allocations: 32.03 kB / 0.5282 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4432, allocations: 1.99 MB / 0.5302 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.4434, allocations: 0.7228 MB / 0.5309 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.4435, allocations: 19.17 kB / 0.5309 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.4435, allocations: 55.75 kB / 0.5309 GB, free: 1.832 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4435, allocations: 0 / 0.5309 GB, free: 1.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.4753, allocations: 3.559 MB / 0.5344 GB, free: 1.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.39, allocations: 3.156 kB / 0.5344 GB, free: 1.32 MB / 382.1 MB " [Timeout remaining time 649] (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: 14.433017182003823] Failed to read output from testmodel.py, exit status != 0: 11.496804527996574 11.521109866 11.082411581 Calling exit ...