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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006297/0.006297, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001412/0.001412, allocations: 193.6 kB / 16.68 MB, free: 6.363 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2218/0.2218, allocations: 22.35 MB / 312.9 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.2 kB / 436.6 MB, free: 34.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09958, allocations: 54.97 MB / 491.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004162/0.1038, allocations: 3.95 MB / 495.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1056, allocations: 1.158 MB / 496.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1058, allocations: 15.88 kB / 496.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1061, allocations: 146.8 kB / 496.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.1067, allocations: 393.8 kB / 497.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.1074, allocations: 275.5 kB / 497.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.1092, allocations: 1.947 MB / 499.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.111, allocations: 1.448 MB / 0.4891 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009232/0.1119, allocations: 0.7404 MB / 0.4898 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.113, allocations: 0.8803 MB / 0.4907 GB, free: 6.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.1132, allocations: 216 kB / 0.4909 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.1135, allocations: 216 kB / 0.4911 GB, free: 6.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005457/0.1141, allocations: 0.6392 MB / 0.4917 GB, free: 5.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000911/0.115, allocations: 0.8212 MB / 0.4925 GB, free: 4.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.1174, allocations: 2.368 MB / 0.4949 GB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1174, allocations: 0 / 0.4949 GB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1174, allocations: 0 / 0.4949 GB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.1174, allocations: 0 / 0.4949 GB, free: 2.398 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004019/0.1214, allocations: 1.869 MB / 0.4967 GB, free: 484 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1215, allocations: 8.031 kB / 0.4967 GB, free: 476 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.1217, allocations: 168.5 kB / 0.4968 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.122, allocations: 136.1 kB / 0.497 GB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.1231, allocations: 0.8022 MB / 0.4978 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.1232, allocations: 74.41 kB / 0.4978 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.1234, allocations: 116.3 kB / 0.4979 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.1258, allocations: 1.421 MB / 0.4993 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1258, allocations: 0 / 0.4993 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.1259, allocations: 40 kB / 0.4994 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.126, allocations: 28 kB / 0.4994 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.1281, allocations: 1.261 MB / 0.5006 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008549/0.1367, allocations: 5.965 MB / 0.5065 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.1408, allocations: 1.76 MB / 0.5082 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.1419, allocations: 0.6871 MB / 0.5088 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.142, allocations: 9 kB / 0.5089 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.142, allocations: 55.44 kB / 0.5089 GB, free: 3.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 3.006e-06/0.1421, allocations: 0 / 0.5089 GB, free: 3.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.006168/0.1482, allocations: 3.279 MB / 0.5121 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1483, allocations: 64.41 kB / 0.5122 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.1491, allocations: 0.6046 MB / 0.5128 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.1492, allocations: 41.7 kB / 0.5128 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.1495, allocations: 460.6 kB / 0.5132 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.1499, allocations: 404.6 kB / 0.5136 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.1503, allocations: 214.9 kB / 0.5138 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1505, allocations: 404.6 kB / 0.5142 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.1516, allocations: 0.7405 MB / 0.5149 GB, free: 13.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.1529, allocations: 0.9203 MB / 0.5158 GB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.1553, allocations: 1.715 MB / 0.5175 GB, free: 10.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1553, allocations: 0 / 0.5175 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004/0.1593, allocations: 2.227 MB / 0.5197 GB, free: 8.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1593, allocations: 8 kB / 0.5197 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1594, allocations: 4 kB / 0.5197 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.1608, allocations: 424.2 kB / 0.5201 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.1626, allocations: 387.6 kB / 0.5205 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.175, allocations: 15.8 MB / 0.5359 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.1762, allocations: 131.2 kB / 0.536 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.1764, allocations: 43.98 kB / 0.5361 GB, free: 5.734 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 (146): * Single equations (assignments): 136 * 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.0008635/0.1773, allocations: 385.5 kB / 0.5364 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.1776, allocations: 87.42 kB / 0.5365 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.1811, allocations: 1.786 MB / 0.5383 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.1811, allocations: 12 kB / 0.5383 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.1811, allocations: 3.938 kB / 0.5383 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.1811, allocations: 7.969 kB / 0.5383 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.1833, allocations: 1.473 MB / 0.5397 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.1833, allocations: 0 / 0.5397 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.1854, allocations: 351.6 kB / 0.5401 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.1864, allocations: 340.2 kB / 0.5404 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.1866, allocations: 63.95 kB / 0.5404 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.1976, allocations: 14.9 MB / 0.555 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1976, allocations: 0 / 0.555 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.2023, allocations: 2.455 MB / 0.5574 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.2026, allocations: 180.3 kB / 0.5576 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.2029, allocations: 59.97 kB / 0.5576 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007267/0.2036, allocations: 47.94 kB / 0.5577 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.2039, allocations: 84.81 kB / 0.5578 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/0.204, allocations: 24 kB / 0.5578 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005843/0.2045, allocations: 434.8 kB / 0.5582 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.2046, allocations: 4 kB / 0.5582 GB, free: 13.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001345/0.2059, allocations: 447.3 kB / 0.5586 GB, free: 13.04 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 (86): * Single equations (assignments): 76 * 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.004691/0.2106, allocations: 3.05 MB / 0.5616 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004023/0.2146, allocations: 2.759 MB / 0.5643 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2147, allocations: 4.062 kB / 0.5643 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.2168, allocations: 1.863 MB / 0.5661 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.218, allocations: 286.6 kB / 0.5664 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.2418, allocations: 14.41 MB / 0.5805 GB, free: 6.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.2429, allocations: 1.198 MB / 0.5816 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.244, allocations: 366.9 kB / 0.582 GB, free: 4.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.2447, allocations: 403.3 kB / 0.5824 GB, free: 4.066 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2447, allocations: 0 / 0.5824 GB, free: 4.066 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.5122, allocations: 30.59 MB / 0.6122 GB, free: 89.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.91, allocations: 11.69 kB / 0.6123 GB, free: 89.21 MB / 462.1 MB (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)