Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 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.001271/0.001271, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1955/0.1955, allocations: 22.35 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 380.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2425, allocations: 54.94 MB / 435.9 MB, free: 39.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.00332/0.2459, allocations: 3.385 MB / 439.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2471, allocations: 0.945 MB / 440.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.2472, allocations: 9.5 kB / 440.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.2474, allocations: 93.86 kB / 440.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.2478, allocations: 240.7 kB / 440.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.2482, allocations: 185.3 kB / 440.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.2488, allocations: 1.158 MB / 441.9 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006217/0.2495, allocations: 0.8 MB / 442.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2498, allocations: 448.1 kB / 443.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.2503, allocations: 0.52 MB / 443.6 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.2504, allocations: 120.6 kB / 443.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2506, allocations: 123.8 kB / 443.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.2508, allocations: 363.8 kB / 444.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.2512, allocations: 0.4955 MB / 444.7 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.252, allocations: 1.349 MB / 446.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2521, allocations: 0 / 446.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2521, allocations: 0 / 446.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.2521, allocations: 0 / 446.1 MB, free: 34.02 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002235/0.2543, allocations: 1.218 MB / 447.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2544, allocations: 11.77 kB / 447.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.2545, allocations: 118.3 kB / 447.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.2546, allocations: 85.72 kB / 447.5 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.2553, allocations: 0.5415 MB / 448 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.2553, allocations: 77.14 kB / 448.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2555, allocations: 78.64 kB / 448.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2566, allocations: 0.8354 MB / 449 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2567, allocations: 0 / 449 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.2568, allocations: 27.88 kB / 449.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2568, allocations: 14.56 kB / 449.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2578, allocations: 0.7202 MB / 449.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.2619, allocations: 3.754 MB / 453.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.264, allocations: 0.9108 MB / 454.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.2645, allocations: 370 kB / 454.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.2646, allocations: 10.25 kB / 454.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.2646, allocations: 41.34 kB / 454.9 MB, free: 29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.414e-06/0.2646, allocations: 0 / 454.9 MB, free: 29 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00306/0.2677, allocations: 1.722 MB / 456.6 MB, free: 27.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2677, allocations: 57.12 kB / 456.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.2682, allocations: 478.9 kB / 457.1 MB, free: 27.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.2683, allocations: 36.36 kB / 457.1 MB, free: 27.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2684, allocations: 342.5 kB / 457.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.2686, allocations: 227.6 kB / 457.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.2688, allocations: 145 kB / 457.8 MB, free: 27.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.2689, allocations: 376.5 kB / 458.2 MB, free: 26.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.2695, allocations: 455.6 kB / 458.7 MB, free: 26.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/0.2703, allocations: 0.5977 MB / 459.3 MB, free: 26.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/0.2774, allocations: 2.391 MB / 461.6 MB, free: 25.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.2774, allocations: 2.312 kB / 461.7 MB, free: 25.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002452/0.2799, allocations: 1.284 MB / 462.9 MB, free: 24.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.2799, allocations: 7.359 kB / 462.9 MB, free: 24.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.2799, allocations: 5.969 kB / 462.9 MB, free: 24.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.2807, allocations: 221.7 kB / 463.2 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.282, allocations: 260.5 kB / 463.4 MB, free: 24.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.2868, allocations: 7.901 MB / 471.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.2875, allocations: 83.42 kB / 471.4 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.2877, allocations: 33.34 kB / 471.4 MB, free: 16.98 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.2881, allocations: 279.2 kB / 471.7 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.2883, allocations: 57.81 kB / 471.8 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.29, allocations: 0.9761 MB / 472.7 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.29, allocations: 5.5 kB / 472.7 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.29, allocations: 2.75 kB / 472.7 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2901, allocations: 7.359 kB / 472.8 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2911, allocations: 0.892 MB / 473.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2911, allocations: 2.016 kB / 473.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.2925, allocations: 217.7 kB / 473.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/0.293, allocations: 173.9 kB / 474 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/0.2931, allocations: 34.77 kB / 474.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/0.2966, allocations: 7.455 MB / 481.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2966, allocations: 0 / 481.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.2987, allocations: 1.366 MB / 482.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.2989, allocations: 144.7 kB / 483 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.299, allocations: 27.86 kB / 483.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.2994, allocations: 36.06 kB / 483.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.2996, allocations: 45.52 kB / 483.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.2996, allocations: 17.14 kB / 483.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003633/0.3, allocations: 326.4 kB / 483.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3, allocations: 0 / 483.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008852/0.3009, allocations: 260.9 kB / 483.7 MB, free: 7.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002437/0.3033, allocations: 1.946 MB / 485.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.3056, allocations: 1.656 MB / 487.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3056, allocations: 1.062 kB / 487.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009822/0.3066, allocations: 0.9635 MB / 488.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.3074, allocations: 177.5 kB / 488.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.3195, allocations: 8.801 MB / 497.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.3201, allocations: 0.9755 MB / 498.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.3208, allocations: 218.6 kB / 498.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.3212, allocations: 245.9 kB / 498.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3212, allocations: 0 / 498.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.3737, allocations: 18.23 MB / 0.5048 GB, free: 10.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.637/10.01, allocations: 11.17 kB / 0.5048 GB, free: 10.29 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_003_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_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)