Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.007614/0.007614, allocations: 98.3 kB / 15.73 MB, free: 5.977 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.001518/0.001518, allocations: 196.7 kB / 16.68 MB, free: 5.906 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08895/0.08895, allocations: 22.33 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 436.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 54.97 MB / 491.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003991/0.1065, allocations: 2.615 MB / 494.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1084, allocations: 0.8066 MB / 494.9 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.1086, allocations: 4 kB / 494.9 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1089, allocations: 47.5 kB / 495 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.1094, allocations: 135.1 kB / 495.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.1099, allocations: 127.7 kB / 495.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.1105, allocations: 486.8 kB / 495.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005562/0.1111, allocations: 332.4 kB / 496 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.1115, allocations: 219.3 kB / 496.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.112, allocations: 291 kB / 496.5 MB, free: 292 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1121, allocations: 52 kB / 496.6 MB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1123, allocations: 75.97 kB / 496.7 MB, free: 164 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1125, allocations: 159.5 kB / 496.8 MB, free: 4 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.1128, allocations: 231.1 kB / 497 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.1134, allocations: 0.5759 MB / 497.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1134, allocations: 0 / 497.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1134, allocations: 0 / 497.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.1134, allocations: 0 / 497.6 MB, free: 15.2 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001704/0.1152, allocations: 0.7518 MB / 498.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1152, allocations: 8.031 kB / 498.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.586e-05/0.1153, allocations: 70.72 kB / 498.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1154, allocations: 44.66 kB / 498.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.1159, allocations: 334.6 kB / 498.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.1159, allocations: 29.03 kB / 498.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.116, allocations: 32.36 kB / 498.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.1167, allocations: 414 kB / 499.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1168, allocations: 0 / 499.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.1168, allocations: 16 kB / 499.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1168, allocations: 8 kB / 499.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/0.1175, allocations: 386.3 kB / 499.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.1202, allocations: 1.321 MB / 0.4893 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.1207, allocations: 311.1 kB / 0.4896 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.1211, allocations: 204.8 kB / 0.4898 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1211, allocations: 16.06 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1212, allocations: 34.56 kB / 0.4898 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003336/0.1215, allocations: 55.75 kB / 0.4899 GB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.1215, allocations: 4 kB / 0.4899 GB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001882/0.1234, allocations: 0.6872 MB / 0.4905 GB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.1235, allocations: 55.41 kB / 0.4906 GB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.1238, allocations: 324.5 kB / 0.4909 GB, free: 9.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.1239, allocations: 33.7 kB / 0.4909 GB, free: 9.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.124, allocations: 200.6 kB / 0.4911 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.1241, allocations: 111 kB / 0.4912 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1242, allocations: 77.61 kB / 0.4913 GB, free: 9.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1244, allocations: 346.8 kB / 0.4916 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1247, allocations: 167.9 kB / 0.4918 GB, free: 8.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.1251, allocations: 226 kB / 0.492 GB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.1257, allocations: 398.5 kB / 0.4924 GB, free: 8.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1257, allocations: 3.984 kB / 0.4924 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001218/0.127, allocations: 0.5329 MB / 0.4929 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.127, allocations: 8.156 kB / 0.4929 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.127, allocations: 7.984 kB / 0.4929 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.1277, allocations: 92.77 kB / 0.493 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.1282, allocations: 95.86 kB / 0.4931 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004285/0.1287, allocations: 0.5797 MB / 0.4937 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.129, allocations: 11.98 kB / 0.4937 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.129, allocations: 19.98 kB / 0.4937 GB, free: 6.934 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (41): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.1292, allocations: 162.6 kB / 0.4939 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.1293, allocations: 31.77 kB / 0.4939 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1305, allocations: 0.525 MB / 0.4944 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1305, allocations: 4 kB / 0.4944 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1305, allocations: 0 / 0.4944 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1305, allocations: 0 / 0.4944 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.1311, allocations: 473.1 kB / 0.4949 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1311, allocations: 0 / 0.4949 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.1316, allocations: 83.88 kB / 0.4949 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.132, allocations: 76.8 kB / 0.495 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.1321, allocations: 19.98 kB / 0.495 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/0.1325, allocations: 0.5759 MB / 0.4956 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1325, allocations: 3.938 kB / 0.4956 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.1339, allocations: 0.7696 MB / 0.4963 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.134, allocations: 112.9 kB / 0.4965 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.134, allocations: 8.047 kB / 0.4965 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.1343, allocations: 15.97 kB / 0.4965 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.1344, allocations: 27.95 kB / 0.4965 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1344, allocations: 8 kB / 0.4965 GB, free: 3.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1346, allocations: 235 kB / 0.4967 GB, free: 3.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1346, allocations: 0 / 0.4967 GB, free: 3.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.1351, allocations: 107.8 kB / 0.4968 GB, free: 3.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.1366, allocations: 1.283 MB / 0.4981 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.1375, allocations: 436.2 kB / 0.4985 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1375, allocations: 0 / 0.4985 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.138, allocations: 223.6 kB / 0.4987 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.1385, allocations: 93.53 kB / 0.4988 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1874/0.3259, allocations: 4.107 MB / 0.5028 GB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3262, allocations: 0.8036 MB / 0.5036 GB, free: 20.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000272/0.3265, allocations: 75.53 kB / 0.5037 GB, free: 20.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3267, allocations: 132.4 kB / 0.5038 GB, free: 20.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3267, allocations: 2.781 kB / 0.5038 GB, free: 20.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3557, allocations: 9.548 MB / 0.5131 GB, free: 19.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.61, allocations: 14.38 kB / 0.5131 GB, free: 19.07 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_001_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_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)