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.001702/0.001708, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2087/0.2087, allocations: 22.35 MB / 312.7 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.84 kB / 380.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2878, allocations: 54.94 MB / 435.9 MB, free: 39.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.005149/0.293, allocations: 4.01 MB / 439.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.2956, allocations: 1.199 MB / 441.1 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.2963, allocations: 16.75 kB / 441.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.2968, allocations: 145.4 kB / 441.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008411/0.2977, allocations: 390.1 kB / 441.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.2984, allocations: 280.4 kB / 441.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2997, allocations: 1.977 MB / 443.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.3008, allocations: 1.465 MB / 445.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.3014, allocations: 0.7453 MB / 446.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.3021, allocations: 0.8878 MB / 447 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.3024, allocations: 219.6 kB / 447.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.3026, allocations: 217.4 kB / 447.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.303, allocations: 0.6322 MB / 448 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.3036, allocations: 0.8404 MB / 448.9 MB, free: 32.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3049, allocations: 2.373 MB / 451.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3049, allocations: 4 kB / 451.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3049, allocations: 0 / 451.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3049, allocations: 0 / 451.2 MB, free: 31.5 MB / 350.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.003443/0.3084, allocations: 1.882 MB / 453.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3084, allocations: 9.375 kB / 453.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.3086, allocations: 158.2 kB / 453.3 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3088, allocations: 130.5 kB / 453.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.3098, allocations: 0.8121 MB / 454.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.3098, allocations: 86.59 kB / 454.3 MB, free: 29.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.31, allocations: 118.3 kB / 454.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.3121, allocations: 1.432 MB / 455.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3122, allocations: 0 / 455.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3123, allocations: 41.44 kB / 455.9 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3123, allocations: 23.66 kB / 455.9 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.3143, allocations: 1.264 MB / 457.2 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008081/0.3223, allocations: 6.043 MB / 463.2 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.3265, allocations: 1.771 MB / 465 MB, free: 24.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.3277, allocations: 0.6855 MB / 465.7 MB, free: 23.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.3278, allocations: 13.86 kB / 465.7 MB, free: 23.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3278, allocations: 47.22 kB / 465.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.818e-06/0.3278, allocations: 1.344 kB / 465.8 MB, free: 23.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.006737/0.3346, allocations: 3.514 MB / 469.3 MB, free: 21.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.3346, allocations: 62.69 kB / 469.3 MB, free: 21.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.3355, allocations: 0.6398 MB / 470 MB, free: 21.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.3356, allocations: 40.89 kB / 470 MB, free: 21.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.3358, allocations: 465 kB / 470.5 MB, free: 21.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.3361, allocations: 380.1 kB / 470.8 MB, free: 20.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.3365, allocations: 219.5 kB / 471 MB, free: 20.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3366, allocations: 409.8 kB / 471.4 MB, free: 20.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3377, allocations: 0.7408 MB / 472.2 MB, free: 19.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.339, allocations: 0.9269 MB / 473.1 MB, free: 19.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.3414, allocations: 1.727 MB / 474.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3414, allocations: 5.812 kB / 474.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004332/0.3457, allocations: 2.303 MB / 477.1 MB, free: 17.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3457, allocations: 11.41 kB / 477.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3458, allocations: 4.766 kB / 477.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.3476, allocations: 0.4937 MB / 477.7 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.3492, allocations: 356.8 kB / 478 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.3595, allocations: 17.61 MB / 495.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3608, allocations: 138.9 kB / 495.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.361, allocations: 43.98 kB / 495.8 MB, free: 15.27 MB / 366.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.0007089/0.3617, allocations: 385.5 kB / 496.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.3619, allocations: 82.97 kB / 496.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/0.3653, allocations: 1.889 MB / 498.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3654, allocations: 12 kB / 498.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3654, allocations: 0 / 498.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3654, allocations: 3.984 kB / 498.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3672, allocations: 1.481 MB / 499.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3673, allocations: 0 / 499.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.3691, allocations: 311.7 kB / 499.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.3705, allocations: 437.1 kB / 0.4886 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.3706, allocations: 67.91 kB / 0.4887 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/0.3832, allocations: 16.7 MB / 0.505 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3832, allocations: 7.969 kB / 0.505 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004707/0.3879, allocations: 2.541 MB / 0.5075 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.3883, allocations: 183.9 kB / 0.5077 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.3885, allocations: 51.98 kB / 0.5077 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.3893, allocations: 47.94 kB / 0.5078 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.3895, allocations: 96.8 kB / 0.5079 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.3896, allocations: 27.98 kB / 0.5079 GB, free: 5.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005466/0.3902, allocations: 455.1 kB / 0.5083 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3902, allocations: 0 / 0.5083 GB, free: 4.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001474/0.3916, allocations: 471.1 kB / 0.5088 GB, free: 4.328 MB / 382.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.004735/0.3964, allocations: 3.149 MB / 0.5118 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005139/0.4015, allocations: 3.477 MB / 0.5152 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4016, allocations: 0 / 0.5152 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.4039, allocations: 2.019 MB / 0.5172 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4051, allocations: 298.4 kB / 0.5175 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/0.4294, allocations: 15.01 MB / 0.5322 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.4305, allocations: 1.205 MB / 0.5333 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.4316, allocations: 363 kB / 0.5337 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/0.4323, allocations: 419.3 kB / 0.5341 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4323, allocations: 0 / 0.5341 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.5426, allocations: 32.06 MB / 0.5654 GB, free: 9.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.51, allocations: 1.641 kB / 0.5654 GB, free: 9.902 MB / 446.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)