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.001378/0.001378, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002267/0.002267, allocations: 208.9 kB / 23.01 MB, free: 4.621 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1169/0.1169, allocations: 24.03 MB / 337.2 MB, free: 11.39 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.002441/0.002441, allocations: 71.89 kB / 473.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4254, allocations: 59.57 MB / 0.5209 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.005384/0.4308, allocations: 1.993 MB / 0.5229 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.4316, allocations: 174 kB / 0.523 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.4319, allocations: 2.969 kB / 0.523 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.432, allocations: 26.08 kB / 0.5231 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.4324, allocations: 71.05 kB / 0.5231 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.4327, allocations: 40.02 kB / 0.5232 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.4331, allocations: 217.5 kB / 0.5234 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.4334, allocations: 92.41 kB / 0.5235 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.4336, allocations: 76.36 kB / 0.5235 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.4339, allocations: 79.59 kB / 0.5236 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.4339, allocations: 15.62 kB / 0.5236 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.434, allocations: 14.09 kB / 0.5236 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.434, allocations: 37.73 kB / 0.5237 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4341, allocations: 73.75 kB / 0.5237 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.4345, allocations: 202.4 kB / 0.5239 GB, free: 8.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4345, allocations: 4 kB / 0.5239 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4345, allocations: 1.25 kB / 0.5239 GB, free: 8.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4345, allocations: 7.938 kB / 0.5239 GB, free: 8.074 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.0006722/0.4352, allocations: 406.5 kB / 0.5243 GB, free: 7.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4352, allocations: 10.75 kB / 0.5243 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.4353, allocations: 51.03 kB / 0.5244 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.4353, allocations: 22.86 kB / 0.5244 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.4357, allocations: 178.2 kB / 0.5246 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4357, allocations: 10.06 kB / 0.5246 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.4358, allocations: 17.38 kB / 0.5246 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.4361, allocations: 126.8 kB / 0.5247 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4362, allocations: 5.094 kB / 0.5247 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.4362, allocations: 9.094 kB / 0.5247 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4362, allocations: 3.312 kB / 0.5247 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.4365, allocations: 74.17 kB / 0.5248 GB, free: 7.371 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.001108/0.4376, allocations: 455.5 kB / 0.5253 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4378, allocations: 47.5 kB / 0.5253 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.4378, allocations: 23.47 kB / 0.5253 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4379, allocations: 1.156 kB / 0.5253 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.4379, allocations: 37.56 kB / 0.5254 GB, free: 6.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.4379, allocations: 0 / 0.5254 GB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003375/0.4382, allocations: 88.98 kB / 0.5254 GB, free: 6.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.4382, allocations: 52.69 kB / 0.5255 GB, free: 6.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.4385, allocations: 226.5 kB / 0.5257 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4385, allocations: 25.7 kB / 0.5257 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.4386, allocations: 148.9 kB / 0.5259 GB, free: 6.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4386, allocations: 13.31 kB / 0.5259 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.4387, allocations: 30.56 kB / 0.5259 GB, free: 6.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.4388, allocations: 325.1 kB / 0.5262 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.4388, allocations: 23.36 kB / 0.5262 GB, free: 6.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.4389, allocations: 49.28 kB / 0.5263 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.4393, allocations: 97.52 kB / 0.5264 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4393, allocations: 1.375 kB / 0.5264 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002863/0.4396, allocations: 106.8 kB / 0.5265 GB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4396, allocations: 5.438 kB / 0.5265 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4396, allocations: 9.312 kB / 0.5265 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4397, allocations: 5 kB / 0.5265 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.4401, allocations: 38.95 kB / 0.5265 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4401, allocations: 1.031 kB / 0.5265 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.4402, allocations: 27.17 kB / 0.5266 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4402, allocations: 3.562 kB / 0.5266 GB, free: 5.93 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.000152/0.4404, allocations: 130.9 kB / 0.5267 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.4405, allocations: 18.58 kB / 0.5267 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.4405, allocations: 14.69 kB / 0.5267 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4405, allocations: 2.344 kB / 0.5267 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4405, allocations: 0 / 0.5267 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4405, allocations: 3.938 kB / 0.5267 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.4412, allocations: 362.7 kB / 0.5271 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4412, allocations: 1.25 kB / 0.5271 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.4414, allocations: 15.45 kB / 0.5271 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4414, allocations: 1.469 kB / 0.5271 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4414, allocations: 9.906 kB / 0.5271 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4414, allocations: 1.375 kB / 0.5271 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4414, allocations: 0.6562 kB / 0.5271 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.4417, allocations: 199.5 kB / 0.5273 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.4418, allocations: 18.86 kB / 0.5273 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.4418, allocations: 5.922 kB / 0.5273 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.442, allocations: 2.203 kB / 0.5273 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.442, allocations: 2.203 kB / 0.5273 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.442, allocations: 11.16 kB / 0.5273 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.4422, allocations: 162.6 kB / 0.5275 GB, free: 5.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4422, allocations: 0 / 0.5275 GB, free: 5.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005092/0.4427, allocations: 36.12 kB / 0.5275 GB, free: 5.145 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.0005075/0.4432, allocations: 0.7315 MB / 0.5282 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4435, allocations: 45.67 kB / 0.5283 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4435, allocations: 1.406 kB / 0.5283 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.4436, allocations: 18.97 kB / 0.5283 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.4441, allocations: 39.92 kB / 0.5283 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.4474, allocations: 1.988 MB / 0.5303 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.4475, allocations: 112.4 kB / 0.5304 GB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.4476, allocations: 18.48 kB / 0.5304 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4477, allocations: 56.52 kB / 0.5305 GB, free: 2.703 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4477, allocations: 0 / 0.5305 GB, free: 2.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.4903, allocations: 4.121 MB / 0.5345 GB, free: 1.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.8, allocations: 5.094 kB / 0.5345 GB, free: 1.684 MB / 382.1 MB " [Timeout remaining time 648] (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.914651961065829] Failed to read output from testmodel.py, exit status != 0: 11.938027611933649 11.972054345 11.531220545 Calling exit ...