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.001464/0.001464, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001653/0.001653, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.103/0.103, allocations: 22.94 MB / 336.2 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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="cs",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.002776/0.002776, allocations: 59.91 kB / 472.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.486, allocations: 59.28 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003324/0.4893, allocations: 1.982 MB / 0.521 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.4897, allocations: 148.3 kB / 0.5212 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.4898, allocations: 2.312 kB / 0.5212 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.025e-05/0.4899, allocations: 19.56 kB / 0.5212 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.49, allocations: 65.69 kB / 0.5213 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.4902, allocations: 26.16 kB / 0.5213 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.4904, allocations: 176 kB / 0.5215 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.4906, allocations: 69.81 kB / 0.5215 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4907, allocations: 68.59 kB / 0.5216 GB, free: 9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.4908, allocations: 69.8 kB / 0.5217 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.4909, allocations: 10.12 kB / 0.5217 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.4909, allocations: 11.97 kB / 0.5217 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.4909, allocations: 27.48 kB / 0.5217 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.491, allocations: 73.97 kB / 0.5218 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.4913, allocations: 163.2 kB / 0.5219 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4913, allocations: 0 / 0.5219 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4913, allocations: 0 / 0.5219 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4913, allocations: 1.75 kB / 0.5219 GB, free: 8.84 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.0005163/0.4918, allocations: 367.2 kB / 0.5223 GB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4919, allocations: 10.02 kB / 0.5223 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.203e-05/0.4919, allocations: 10.84 kB / 0.5223 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.4919, allocations: 45.22 kB / 0.5223 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.492, allocations: 15.56 kB / 0.5224 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.4922, allocations: 155.6 kB / 0.5225 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4922, allocations: 8.875 kB / 0.5225 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4923, allocations: 10.06 kB / 0.5225 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.4925, allocations: 127.9 kB / 0.5226 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4925, allocations: 4 kB / 0.5227 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4925, allocations: 9.062 kB / 0.5227 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4925, allocations: 3.219 kB / 0.5227 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4926, allocations: 57.77 kB / 0.5227 GB, free: 8.176 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.0007754/0.4934, allocations: 0.7445 MB / 0.5234 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4935, allocations: 55 kB / 0.5235 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.4936, allocations: 18.27 kB / 0.5235 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.4936, allocations: 0 / 0.5235 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.4936, allocations: 36.38 kB / 0.5236 GB, free: 7.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.4936, allocations: 0 / 0.5236 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002086/0.4938, allocations: 83.23 kB / 0.5236 GB, free: 7.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.4938, allocations: 53.53 kB / 0.5237 GB, free: 7.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.494, allocations: 199.9 kB / 0.5239 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.494, allocations: 25.7 kB / 0.5239 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.4941, allocations: 130.1 kB / 0.524 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.4941, allocations: 6.578 kB / 0.524 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.4941, allocations: 20.3 kB / 0.524 GB, free: 6.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.4942, allocations: 327 kB / 0.5244 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.4942, allocations: 16.45 kB / 0.5244 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.4943, allocations: 24.8 kB / 0.5244 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.4946, allocations: 80.39 kB / 0.5245 GB, free: 6.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4946, allocations: 0.9062 kB / 0.5245 GB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001387/0.4947, allocations: 89.09 kB / 0.5246 GB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4947, allocations: 16.55 kB / 0.5246 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4947, allocations: 1.406 kB / 0.5246 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4947, allocations: 1.5 kB / 0.5246 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4948, allocations: 12.97 kB / 0.5246 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.4949, allocations: 1.281 kB / 0.5246 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.4949, allocations: 10.91 kB / 0.5246 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4949, allocations: 7.359 kB / 0.5246 GB, free: 6.465 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.0001177/0.4951, allocations: 127.6 kB / 0.5247 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.4951, allocations: 14.8 kB / 0.5247 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.4951, allocations: 14.97 kB / 0.5248 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.4951, allocations: 128 / 0.5248 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4951, allocations: 6.141 kB / 0.5248 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4951, allocations: 0 / 0.5248 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4953, allocations: 183.7 kB / 0.5249 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4953, allocations: 1.953 kB / 0.5249 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.4954, allocations: 8.609 kB / 0.5249 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4954, allocations: 1.125 kB / 0.525 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4954, allocations: 9.906 kB / 0.525 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4954, allocations: 3.938 kB / 0.525 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4954, allocations: 0 / 0.525 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4956, allocations: 179.1 kB / 0.5251 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.4957, allocations: 21.81 kB / 0.5252 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4957, allocations: 1.125 kB / 0.5252 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.4958, allocations: 0.7969 kB / 0.5252 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.4958, allocations: 2.672 kB / 0.5252 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.4958, allocations: 5.219 kB / 0.5252 GB, free: 5.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.4959, allocations: 148.8 kB / 0.5253 GB, free: 5.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4959, allocations: 0 / 0.5253 GB, free: 5.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.4962, allocations: 26.89 kB / 0.5253 GB, free: 5.848 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.0003095/0.4965, allocations: 0.7148 MB / 0.526 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.4966, allocations: 35.86 kB / 0.5261 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4966, allocations: 1.281 kB / 0.5261 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.4966, allocations: 16.3 kB / 0.5261 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.4969, allocations: 25.11 kB / 0.5261 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4985, allocations: 1.795 MB / 0.5279 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.4987, allocations: 0.7116 MB / 0.5286 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.4987, allocations: 17.75 kB / 0.5286 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.4988, allocations: 42.28 kB / 0.5286 GB, free: 2.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4988, allocations: 0 / 0.5286 GB, free: 2.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.5217, allocations: 3.222 MB / 0.5318 GB, free: 2.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.62, allocations: 10.45 kB / 0.5318 GB, free: 2.426 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.555981174984481] Failed to read output from testmodel.py, exit status != 0: 11.789990472025238 11.817058113 11.320494568 Calling exit ...