Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007756/0.007756, allocations: 96.67 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 187.8 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1983/0.1983, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.67 kB / 436.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08844, allocations: 54.96 MB / 491.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004224/0.09269, allocations: 4.012 MB / 495.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.09455, allocations: 1.193 MB / 496.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.09475, allocations: 15.88 kB / 496.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.09506, allocations: 150.7 kB / 496.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.09566, allocations: 389.8 kB / 497.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.0963, allocations: 295.5 kB / 497.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.09795, allocations: 1.974 MB / 499.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.09941, allocations: 1.464 MB / 0.4893 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007275/0.1002, allocations: 0.7482 MB / 0.49 GB, free: 7.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009851/0.1011, allocations: 0.8959 MB / 0.4909 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.1014, allocations: 216 kB / 0.4911 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1017, allocations: 220 kB / 0.4913 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.1022, allocations: 0.6353 MB / 0.4919 GB, free: 5.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007845/0.103, allocations: 0.8406 MB / 0.4928 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1049, allocations: 2.391 MB / 0.4951 GB, free: 2.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1049, allocations: 0 / 0.4951 GB, free: 2.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1049, allocations: 0 / 0.4951 GB, free: 2.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.1049, allocations: 0 / 0.4951 GB, free: 2.312 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003875/0.1088, allocations: 1.912 MB / 0.497 GB, free: 352 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1088, allocations: 12.03 kB / 0.497 GB, free: 340 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.1091, allocations: 168.5 kB / 0.4971 GB, free: 164 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.1093, allocations: 132.1 kB / 0.4973 GB, free: 32 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.1106, allocations: 0.8216 MB / 0.4981 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/0.1106, allocations: 78.41 kB / 0.4981 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.1108, allocations: 120.3 kB / 0.4982 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.1131, allocations: 1.429 MB / 0.4996 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.1132, allocations: 0 / 0.4996 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.1133, allocations: 44 kB / 0.4997 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.1133, allocations: 24 kB / 0.4997 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.1154, allocations: 1.265 MB / 0.5009 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008202/0.1236, allocations: 6.004 MB / 0.5068 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/0.1276, allocations: 1.773 MB / 0.5085 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.1287, allocations: 0.691 MB / 0.5092 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.1288, allocations: 16.98 kB / 0.5092 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1288, allocations: 47.44 kB / 0.5093 GB, free: 3.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.836e-06/0.1288, allocations: 3.938 kB / 0.5093 GB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.007062/0.1359, allocations: 3.519 MB / 0.5127 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1359, allocations: 60.41 kB / 0.5128 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.1367, allocations: 0.633 MB / 0.5134 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.1368, allocations: 41.7 kB / 0.5134 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.1371, allocations: 472.7 kB / 0.5139 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.1375, allocations: 400.6 kB / 0.5143 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.1379, allocations: 218.9 kB / 0.5145 GB, free: 13.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.138, allocations: 418.7 kB / 0.5149 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.1392, allocations: 0.7366 MB / 0.5156 GB, free: 12.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.1405, allocations: 0.9283 MB / 0.5165 GB, free: 11.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.1429, allocations: 1.727 MB / 0.5182 GB, free: 9.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1429, allocations: 3.938 kB / 0.5182 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004276/0.1472, allocations: 2.309 MB / 0.5204 GB, free: 7.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1472, allocations: 11.12 kB / 0.5205 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1473, allocations: 4 kB / 0.5205 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.1492, allocations: 0.4932 MB / 0.5209 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.1507, allocations: 359.5 kB / 0.5213 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.1653, allocations: 17.6 MB / 0.5385 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.1665, allocations: 139.3 kB / 0.5386 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.1667, allocations: 40 kB / 0.5386 GB, free: 3.086 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008482/0.1676, allocations: 393.4 kB / 0.539 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.1679, allocations: 87.44 kB / 0.5391 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.1715, allocations: 1.881 MB / 0.5409 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1715, allocations: 12 kB / 0.5409 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.1715, allocations: 4 kB / 0.5409 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.1715, allocations: 3.984 kB / 0.541 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.1734, allocations: 1.481 MB / 0.5424 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.1735, allocations: 4 kB / 0.5424 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.1753, allocations: 319.6 kB / 0.5427 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.1767, allocations: 429.1 kB / 0.5431 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.1768, allocations: 63.97 kB / 0.5432 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.1892, allocations: 16.72 MB / 0.5595 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1892, allocations: 0 / 0.5595 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.1938, allocations: 2.538 MB / 0.562 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.1941, allocations: 188.3 kB / 0.5622 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.1944, allocations: 55.97 kB / 0.5622 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/0.1951, allocations: 55.88 kB / 0.5623 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.1954, allocations: 92.75 kB / 0.5624 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.1955, allocations: 23.98 kB / 0.5624 GB, free: 9.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000583/0.196, allocations: 463.1 kB / 0.5628 GB, free: 8.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1961, allocations: 0 / 0.5628 GB, free: 8.578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001365/0.1974, allocations: 467.4 kB / 0.5633 GB, free: 8.121 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004682/0.2021, allocations: 3.15 MB / 0.5663 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.2062, allocations: 2.938 MB / 0.5692 GB, free: 1.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2062, allocations: 0 / 0.5692 GB, free: 1.832 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002512/0.2087, allocations: 2.038 MB / 0.5712 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.2099, allocations: 281.3 kB / 0.5715 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/0.2332, allocations: 14.59 MB / 0.5857 GB, free: 492 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2202/0.4534, allocations: 1.201 MB / 0.5869 GB, free: 98.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001173/0.4547, allocations: 361 kB / 0.5872 GB, free: 98.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/0.4553, allocations: 415.7 kB / 0.5876 GB, free: 98.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4553, allocations: 0.9062 kB / 0.5876 GB, free: 98.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/0.5535, allocations: 32.55 MB / 0.6194 GB, free: 79.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.69, allocations: 13.89 kB / 0.6194 GB, free: 79.9 MB / 462.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_005_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_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1)