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.001126/0.001126, 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.001188/0.001188, allocations: 192.7 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2003/0.2003, allocations: 22.36 MB / 312.8 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.88 kB / 381 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2474, allocations: 54.94 MB / 435.9 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003327/0.2508, allocations: 3.103 MB / 439 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2519, allocations: 0.8887 MB / 439.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2521, allocations: 5.188 kB / 439.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.2523, allocations: 87.11 kB / 440 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.2526, allocations: 225.1 kB / 440.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.2529, allocations: 164.5 kB / 440.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.2536, allocations: 1.084 MB / 441.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.2542, allocations: 0.7767 MB / 442.2 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.2545, allocations: 419.7 kB / 442.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.2549, allocations: 0.4951 MB / 443.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.2551, allocations: 122 kB / 443.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2552, allocations: 120.1 kB / 443.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.2554, allocations: 343.8 kB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.2557, allocations: 475.9 kB / 444.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.2564, allocations: 1.273 MB / 445.4 MB, free: 34.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2564, allocations: 0 / 445.4 MB, free: 34.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2564, allocations: 0 / 445.4 MB, free: 34.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2565, allocations: 0 / 445.4 MB, free: 34.28 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002035/0.2585, allocations: 1.184 MB / 446.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2585, allocations: 10.47 kB / 446.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.2587, allocations: 100.5 kB / 446.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.2588, allocations: 75.12 kB / 446.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.2594, allocations: 0.5297 MB / 447.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.2594, allocations: 48.88 kB / 447.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2595, allocations: 65.75 kB / 447.4 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2606, allocations: 0.7747 MB / 448.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2606, allocations: 0 / 448.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.2607, allocations: 23 kB / 448.2 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2607, allocations: 15.56 kB / 448.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.2617, allocations: 0.6801 MB / 448.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.2657, allocations: 3.586 MB / 452.5 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.2677, allocations: 0.8701 MB / 453.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.2682, allocations: 362.3 kB / 453.7 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.2682, allocations: 6.062 kB / 453.7 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2683, allocations: 42.28 kB / 453.8 MB, free: 29.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.2683, allocations: 0 / 453.8 MB, free: 29.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.004059/0.2723, allocations: 1.882 MB / 455.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2724, allocations: 56.38 kB / 455.7 MB, free: 28.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.2729, allocations: 467.5 kB / 456.2 MB, free: 28.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.273, allocations: 36.48 kB / 456.2 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2732, allocations: 331.3 kB / 456.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.2733, allocations: 199.7 kB / 456.7 MB, free: 27.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.2736, allocations: 140 kB / 456.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.2737, allocations: 368.6 kB / 457.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.2743, allocations: 400.4 kB / 457.6 MB, free: 27.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.2749, allocations: 0.5604 MB / 458.2 MB, free: 26.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2763, allocations: 0.9813 MB / 459.2 MB, free: 26.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.2763, allocations: 2.438 kB / 459.2 MB, free: 26.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00239/0.2787, allocations: 1.289 MB / 460.5 MB, free: 25.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2787, allocations: 10.08 kB / 460.5 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.2787, allocations: 5.266 kB / 460.5 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2797, allocations: 271.1 kB / 460.7 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.2807, allocations: 211.5 kB / 460.9 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.2864, allocations: 9.497 MB / 470.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.287, allocations: 77.5 kB / 470.5 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.2871, allocations: 31.19 kB / 470.5 MB, free: 16.28 MB / 350.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.0003266/0.2874, allocations: 269.8 kB / 470.8 MB, free: 16.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2875, allocations: 53.12 kB / 470.9 MB, free: 16.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.2893, allocations: 0.9958 MB / 471.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2894, allocations: 8.594 kB / 471.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2894, allocations: 3.609 kB / 471.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2894, allocations: 6.281 kB / 471.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2904, allocations: 0.8559 MB / 472.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2904, allocations: 1.406 kB / 472.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.2914, allocations: 170.8 kB / 472.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007588/0.2922, allocations: 227 kB / 473.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-05/0.2923, allocations: 34.2 kB / 473.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/0.2972, allocations: 9.02 MB / 482.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2972, allocations: 0 / 482.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.2998, allocations: 1.37 MB / 483.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.3, allocations: 140.6 kB / 483.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.3001, allocations: 32.22 kB / 483.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.3006, allocations: 27.25 kB / 483.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.3008, allocations: 52.27 kB / 483.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.3008, allocations: 15.61 kB / 483.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004472/0.3013, allocations: 329.1 kB / 484.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3013, allocations: 0 / 484.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001097/0.3024, allocations: 255.9 kB / 484.4 MB, free: 5.102 MB / 350.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.002702/0.3051, allocations: 1.953 MB / 486.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.3077, allocations: 1.737 MB / 488.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3077, allocations: 1.031 kB / 488.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3089, allocations: 1.075 MB / 489.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.3097, allocations: 171.8 kB / 489.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.323, allocations: 8.523 MB / 497.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.3237, allocations: 0.9707 MB / 498.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006873/0.3244, allocations: 208 kB / 499 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.3248, allocations: 232.2 kB / 499.2 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3248, allocations: 0 / 499.2 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/0.3775, allocations: 18.51 MB / 0.5056 GB, free: 9.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.04, allocations: 15.36 kB / 0.5056 GB, free: 9.188 MB / 382.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)