Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",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.007904/0.007904, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001896/0.001896, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1936/0.1936, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.42 kB / 436.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09664, allocations: 54.96 MB / 491.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003566/0.1002, allocations: 3.098 MB / 494.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1017, allocations: 0.8888 MB / 495.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1019, allocations: 11.88 kB / 495.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.1021, allocations: 87.23 kB / 495.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1025, allocations: 238.6 kB / 495.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.103, allocations: 163.7 kB / 496 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.1039, allocations: 1.084 MB / 497.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008347/0.1048, allocations: 0.7827 MB / 497.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.1052, allocations: 423 kB / 498.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.1058, allocations: 0.4946 MB / 498.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.106, allocations: 116 kB / 498.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1061, allocations: 116 kB / 499 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.1064, allocations: 339.2 kB / 499.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.1068, allocations: 482 kB / 499.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1079, allocations: 1.289 MB / 0.4894 GB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1079, allocations: 0 / 0.4894 GB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1079, allocations: 0 / 0.4894 GB, free: 8.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.108, allocations: 0 / 0.4894 GB, free: 8.07 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002311/0.1103, allocations: 1.204 MB / 0.4906 GB, free: 6.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1103, allocations: 8.031 kB / 0.4906 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.1105, allocations: 110.7 kB / 0.4907 GB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.1106, allocations: 84.41 kB / 0.4908 GB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.1114, allocations: 0.5306 MB / 0.4913 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.1115, allocations: 45.69 kB / 0.4913 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1116, allocations: 64.33 kB / 0.4914 GB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1128, allocations: 0.7757 MB / 0.4921 GB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1129, allocations: 0 / 0.4921 GB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.113, allocations: 24 kB / 0.4922 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.113, allocations: 12 kB / 0.4922 GB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1141, allocations: 0.6884 MB / 0.4928 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004755/0.1189, allocations: 3.558 MB / 0.4963 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.121, allocations: 0.8797 MB / 0.4972 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.1216, allocations: 362 kB / 0.4975 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1216, allocations: 8.438 kB / 0.4975 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1217, allocations: 35 kB / 0.4976 GB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.863e-06/0.1217, allocations: 0 / 0.4976 GB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.003927/0.1256, allocations: 1.885 MB / 0.4994 GB, free: 13.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1257, allocations: 59.84 kB / 0.4995 GB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.1262, allocations: 477.8 kB / 0.4999 GB, free: 12.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.1262, allocations: 29.7 kB / 0.4999 GB, free: 12.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1265, allocations: 328.6 kB / 0.5003 GB, free: 12.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.1266, allocations: 214.2 kB / 0.5005 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.1269, allocations: 138.6 kB / 0.5006 GB, free: 12.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.127, allocations: 366.8 kB / 0.5009 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.1277, allocations: 409.8 kB / 0.5013 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.1284, allocations: 0.5543 MB / 0.5019 GB, free: 10.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.1298, allocations: 0.9814 MB / 0.5028 GB, free: 9.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1298, allocations: 4.984 kB / 0.5028 GB, free: 9.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002393/0.1322, allocations: 1.287 MB / 0.5041 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1322, allocations: 8 kB / 0.5041 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1322, allocations: 4 kB / 0.5041 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.1333, allocations: 264.9 kB / 0.5044 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.1342, allocations: 215.7 kB / 0.5046 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/0.1416, allocations: 9.497 MB / 0.5138 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.1423, allocations: 79.48 kB / 0.5139 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.1424, allocations: 36.08 kB / 0.514 GB, free: 13.28 MB / 398.1 MB 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 (86): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003838/0.1428, allocations: 269.4 kB / 0.5142 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1429, allocations: 59.56 kB / 0.5143 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.1448, allocations: 1.003 MB / 0.5152 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1448, allocations: 12 kB / 0.5153 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1448, allocations: 0 / 0.5153 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1449, allocations: 0 / 0.5153 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000981/0.1458, allocations: 0.8448 MB / 0.5161 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1459, allocations: 0 / 0.5161 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.1469, allocations: 171.8 kB / 0.5162 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007746/0.1476, allocations: 228.9 kB / 0.5165 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.1477, allocations: 31.98 kB / 0.5165 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006867/0.1546, allocations: 9.03 MB / 0.5253 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1546, allocations: 0 / 0.5253 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.1573, allocations: 1.376 MB / 0.5267 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.1575, allocations: 156.8 kB / 0.5268 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.1576, allocations: 24 kB / 0.5268 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.1581, allocations: 31.95 kB / 0.5269 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.1582, allocations: 44.38 kB / 0.5269 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.1583, allocations: 23.92 kB / 0.5269 GB, free: 15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003717/0.1586, allocations: 323.1 kB / 0.5272 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1586, allocations: 0 / 0.5272 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008414/0.1595, allocations: 263.6 kB / 0.5275 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00284/0.1623, allocations: 1.951 MB / 0.5294 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.1648, allocations: 1.584 MB / 0.5309 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1649, allocations: 0 / 0.5309 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.1662, allocations: 1.082 MB / 0.532 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.167, allocations: 165.7 kB / 0.5322 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.1798, allocations: 8.391 MB / 0.5403 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.1804, allocations: 0.9675 MB / 0.5413 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.181, allocations: 204.7 kB / 0.5415 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.1814, allocations: 231.4 kB / 0.5417 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1814, allocations: 7.938 kB / 0.5417 GB, free: 15.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/0.2464, allocations: 18.79 MB / 0.5601 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.43, allocations: 15.69 kB / 0.5601 GB, free: 12.8 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_002_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_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)