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.004804/0.004804, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001132/0.001132, allocations: 186 kB / 16.67 MB, free: 5.926 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2125/0.2125, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 69.95 kB / 436.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09681, allocations: 54.96 MB / 491.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004114/0.101, allocations: 3.958 MB / 495.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1029, allocations: 1.162 MB / 496.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1031, allocations: 11.94 kB / 496.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1034, allocations: 150.7 kB / 496.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.1041, allocations: 389.9 kB / 497.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.1047, allocations: 271.5 kB / 497.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.1064, allocations: 1.951 MB / 499.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.1079, allocations: 1.448 MB / 0.4891 GB, free: 8.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.1086, allocations: 0.7444 MB / 0.4899 GB, free: 7.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1097, allocations: 0.8726 MB / 0.4907 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.1099, allocations: 216 kB / 0.4909 GB, free: 6.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.1102, allocations: 219.9 kB / 0.4911 GB, free: 6.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005293/0.1107, allocations: 0.6352 MB / 0.4918 GB, free: 5.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000787/0.1115, allocations: 0.825 MB / 0.4926 GB, free: 4.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.1135, allocations: 2.368 MB / 0.4949 GB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1135, allocations: 4 kB / 0.4949 GB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1135, allocations: 0 / 0.4949 GB, free: 2.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1136, allocations: 0 / 0.4949 GB, free: 2.422 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.003938/0.1175, allocations: 1.866 MB / 0.4967 GB, free: 0.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1176, allocations: 8.031 kB / 0.4967 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.1178, allocations: 160.6 kB / 0.4969 GB, free: 336 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.118, allocations: 132.1 kB / 0.497 GB, free: 204 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.1193, allocations: 0.8021 MB / 0.4978 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.1194, allocations: 82.41 kB / 0.4978 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.1196, allocations: 124.2 kB / 0.498 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.122, allocations: 1.421 MB / 0.4993 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.122, allocations: 0 / 0.4993 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.1222, allocations: 40 kB / 0.4994 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.1222, allocations: 24 kB / 0.4994 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1243, allocations: 1.257 MB / 0.5006 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008669/0.133, allocations: 5.965 MB / 0.5065 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.1371, allocations: 1.771 MB / 0.5082 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.1382, allocations: 0.6832 MB / 0.5089 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.1382, allocations: 12.98 kB / 0.5089 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1383, allocations: 47.5 kB / 0.5089 GB, free: 3.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 2.645e-06/0.1383, allocations: 0 / 0.5089 GB, free: 3.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.006185/0.1445, allocations: 3.283 MB / 0.5121 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.1445, allocations: 68.41 kB / 0.5122 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.1453, allocations: 0.6046 MB / 0.5128 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.358e-05/0.1454, allocations: 41.7 kB / 0.5128 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.1458, allocations: 456.7 kB / 0.5133 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.1461, allocations: 400.6 kB / 0.5136 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.1465, allocations: 218.9 kB / 0.5138 GB, free: 14.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1467, allocations: 398.7 kB / 0.5142 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.1479, allocations: 0.7405 MB / 0.5149 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.1492, allocations: 0.9164 MB / 0.5158 GB, free: 12.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.1516, allocations: 1.727 MB / 0.5175 GB, free: 10.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1516, allocations: 5.859 kB / 0.5175 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00397/0.1556, allocations: 2.219 MB / 0.5197 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1556, allocations: 10.66 kB / 0.5197 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1556, allocations: 4 kB / 0.5197 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.1571, allocations: 420.2 kB / 0.5201 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.1589, allocations: 391.5 kB / 0.5205 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.1715, allocations: 15.79 MB / 0.5359 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.1726, allocations: 135.3 kB / 0.536 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.1727, allocations: 40 kB / 0.5361 GB, free: 5.77 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.00065/0.1734, allocations: 389.4 kB / 0.5365 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.1736, allocations: 87.42 kB / 0.5365 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.1769, allocations: 1.786 MB / 0.5383 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1769, allocations: 12 kB / 0.5383 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.177, allocations: 4 kB / 0.5383 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.177, allocations: 3.984 kB / 0.5383 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.1788, allocations: 1.477 MB / 0.5397 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.1789, allocations: 3.984 kB / 0.5397 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/0.181, allocations: 343.6 kB / 0.5401 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.1821, allocations: 348.2 kB / 0.5404 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.1822, allocations: 63.97 kB / 0.5405 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.1927, allocations: 14.9 MB / 0.555 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1927, allocations: 0 / 0.555 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.1968, allocations: 2.443 MB / 0.5574 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.197, allocations: 188.3 kB / 0.5576 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.1973, allocations: 59.98 kB / 0.5576 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.198, allocations: 51.92 kB / 0.5577 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.1983, allocations: 84.83 kB / 0.5578 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.1983, allocations: 23.98 kB / 0.5578 GB, free: 13.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005314/0.1989, allocations: 426.8 kB / 0.5582 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1989, allocations: 0 / 0.5582 GB, free: 13.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001226/0.2001, allocations: 455.3 kB / 0.5586 GB, free: 13.07 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.004394/0.2045, allocations: 3.051 MB / 0.5616 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.2083, allocations: 2.762 MB / 0.5643 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2083, allocations: 3.938 kB / 0.5643 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.2105, allocations: 1.861 MB / 0.5661 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2116, allocations: 282.6 kB / 0.5664 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/0.2349, allocations: 14.41 MB / 0.5805 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009245/0.2359, allocations: 1.197 MB / 0.5816 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.2369, allocations: 358.9 kB / 0.582 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/0.2376, allocations: 407.3 kB / 0.5824 GB, free: 4.105 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2376, allocations: 0 / 0.5824 GB, free: 4.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/0.5332, allocations: 30.59 MB / 0.6122 GB, free: 89.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.56, allocations: 19.89 kB / 0.6123 GB, free: 89.32 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)