Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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.001882/0.001882, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.002318/0.002318, allocations: 204 kB / 20.11 MB, free: 2.977 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.587/1.587, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1304/0.1304, allocations: 24.04 MB / 333.6 MB, free: 1.582 MB / 254.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_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.002657/0.002657, allocations: 70.05 kB / 468.4 MB, free: 31.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1127, allocations: 59.54 MB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.005484/0.1181, allocations: 3.989 MB / 0.5195 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1203, allocations: 1.204 MB / 0.5207 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.1206, allocations: 15.81 kB / 0.5207 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.1209, allocations: 154.8 kB / 0.5208 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.1216, allocations: 385.8 kB / 0.5212 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1222, allocations: 287.5 kB / 0.5215 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.1242, allocations: 1.943 MB / 0.5234 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.1256, allocations: 1.202 MB / 0.5245 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.1265, allocations: 0.7522 MB / 0.5253 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1277, allocations: 0.8959 MB / 0.5261 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.128, allocations: 220 kB / 0.5264 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.1283, allocations: 216 kB / 0.5266 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.1289, allocations: 0.6352 MB / 0.5272 GB, free: 364 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008455/0.1297, allocations: 0.8251 MB / 0.528 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.132, allocations: 2.375 MB / 0.5303 GB, free: 13.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.132, allocations: 0 / 0.5303 GB, free: 13.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.132, allocations: 0 / 0.5303 GB, free: 13.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.132, allocations: 0 / 0.5303 GB, free: 13.14 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.0043/0.1363, allocations: 1.877 MB / 0.5321 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1363, allocations: 8.625 kB / 0.5321 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.1366, allocations: 160.6 kB / 0.5323 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.1369, allocations: 136.1 kB / 0.5324 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.1382, allocations: 0.8021 MB / 0.5332 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.1382, allocations: 82.41 kB / 0.5333 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.1385, allocations: 116.3 kB / 0.5334 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.141, allocations: 1.421 MB / 0.5348 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.141, allocations: 0 / 0.5348 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.1411, allocations: 43.94 kB / 0.5348 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1411, allocations: 27.94 kB / 0.5349 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.1434, allocations: 1.257 MB / 0.5361 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009602/0.153, allocations: 6.156 MB / 0.5421 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.1574, allocations: 1.754 MB / 0.5438 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.1585, allocations: 0.6832 MB / 0.5445 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/0.1586, allocations: 12.98 kB / 0.5445 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.1587, allocations: 55.48 kB / 0.5445 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 2.645e-06/0.1587, allocations: 0 / 0.5445 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.0102/0.1689, allocations: 5.132 MB / 0.5496 GB, free: 8.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.1689, allocations: 60.41 kB / 0.5496 GB, free: 8.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.1698, allocations: 0.6085 MB / 0.5502 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.1699, allocations: 41.7 kB / 0.5502 GB, free: 7.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.1703, allocations: 464.7 kB / 0.5507 GB, free: 7.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.1707, allocations: 404.6 kB / 0.5511 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/0.1711, allocations: 222.9 kB / 0.5513 GB, free: 6.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.1713, allocations: 410.7 kB / 0.5517 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.1726, allocations: 0.7486 MB / 0.5524 GB, free: 5.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.1741, allocations: 0.9368 MB / 0.5533 GB, free: 4.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.177, allocations: 1.941 MB / 0.5552 GB, free: 2.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.177, allocations: 0 / 0.5552 GB, free: 2.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004381/0.1814, allocations: 2.25 MB / 0.5574 GB, free: 340 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1814, allocations: 15.88 kB / 0.5574 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1814, allocations: 4 kB / 0.5574 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.183, allocations: 416.3 kB / 0.5578 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.1848, allocations: 387.9 kB / 0.5582 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.1992, allocations: 15.79 MB / 0.5736 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.2003, allocations: 79.94 kB / 0.5737 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.2006, allocations: 44 kB / 0.5737 GB, free: 14.12 MB / 446.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (150): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009154/0.2015, allocations: 390.2 kB / 0.5741 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.2018, allocations: 87.47 kB / 0.5742 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.2055, allocations: 1.806 MB / 0.576 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2055, allocations: 8 kB / 0.576 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.2055, allocations: 4 kB / 0.576 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.2055, allocations: 3.984 kB / 0.576 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006839/0.2124, allocations: 3.627 MB / 0.5795 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2124, allocations: 4 kB / 0.5795 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.2144, allocations: 351.6 kB / 0.5799 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.2155, allocations: 348.4 kB / 0.5802 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.2157, allocations: 63.97 kB / 0.5803 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2602/0.4759, allocations: 14.9 MB / 0.5948 GB, free: 58.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4759, allocations: 3.281 kB / 0.5948 GB, free: 58.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005655/0.4816, allocations: 2.504 MB / 0.5972 GB, free: 58.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.4819, allocations: 172.6 kB / 0.5974 GB, free: 58.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.4821, allocations: 59.44 kB / 0.5975 GB, free: 58.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.4828, allocations: 53.62 kB / 0.5975 GB, free: 58.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/0.4831, allocations: 81.91 kB / 0.5976 GB, free: 58.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.4832, allocations: 33.34 kB / 0.5976 GB, free: 58.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006627/0.4839, allocations: 428.9 kB / 0.598 GB, free: 58.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4839, allocations: 0 / 0.598 GB, free: 58.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001752/0.4856, allocations: 396.5 kB / 0.5984 GB, free: 58.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004875/0.4905, allocations: 3.113 MB / 0.6015 GB, free: 56.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003936/0.4945, allocations: 2.724 MB / 0.6041 GB, free: 54.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4945, allocations: 0 / 0.6041 GB, free: 54.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.4964, allocations: 1.864 MB / 0.6059 GB, free: 53.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4976, allocations: 287.7 kB / 0.6062 GB, free: 53.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/0.5207, allocations: 14.85 MB / 0.6207 GB, free: 45.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/0.5216, allocations: 1.192 MB / 0.6219 GB, free: 45.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009304/0.5225, allocations: 355.8 kB / 0.6222 GB, free: 45.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006432/0.5232, allocations: 413.8 kB / 0.6226 GB, free: 44.84 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5232, allocations: 0 / 0.6226 GB, free: 44.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.6096, allocations: 32.02 MB / 0.6539 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.93, allocations: 18.61 kB / 0.6539 GB, free: 14.89 MB / 446.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_004_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.366197663126513] Failed to read output from testmodel.py, exit status != 0: 14.029270922997966 14.046040495 13.910607796 Calling exit ...