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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 192.9 kB / 16.14 MB, free: 6.719 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.182/0.182, allocations: 22.34 MB / 312.3 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 380.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2427, allocations: 54.95 MB / 435.2 MB, free: 39.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003254/0.246, allocations: 3.618 MB / 438.8 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2471, allocations: 0.9649 MB / 439.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2472, allocations: 13.56 kB / 439.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2474, allocations: 71.58 kB / 439.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.2478, allocations: 231.1 kB / 440.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.248, allocations: 160.9 kB / 440.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.2488, allocations: 1.365 MB / 441.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.2493, allocations: 0.6731 MB / 442.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2496, allocations: 366.2 kB / 442.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.25, allocations: 0.5149 MB / 443.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.2501, allocations: 63.5 kB / 443.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.2502, allocations: 62.34 kB / 443.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.2504, allocations: 298.6 kB / 443.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.2507, allocations: 443 kB / 444 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.2513, allocations: 1.303 MB / 445.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2513, allocations: 0 / 445.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.2514, allocations: 0 / 445.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.2514, allocations: 0 / 445.3 MB, free: 34.06 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.001921/0.2533, allocations: 1.222 MB / 446.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2533, allocations: 13.38 kB / 446.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.2534, allocations: 115.2 kB / 446.6 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2536, allocations: 87.56 kB / 446.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.2541, allocations: 0.5443 MB / 447.2 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.2542, allocations: 83.27 kB / 447.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.2543, allocations: 69.53 kB / 447.4 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2554, allocations: 0.8327 MB / 448.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2554, allocations: 0 / 448.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.2555, allocations: 25.12 kB / 448.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2555, allocations: 17.09 kB / 448.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.2565, allocations: 0.7275 MB / 449 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.2602, allocations: 3.744 MB / 452.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.2621, allocations: 0.9033 MB / 453.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.2625, allocations: 368.2 kB / 454 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.2626, allocations: 8.828 kB / 454 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.2626, allocations: 38.22 kB / 454.1 MB, free: 29.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.573e-06/0.2626, allocations: 0 / 454.1 MB, free: 29.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002831/0.2655, allocations: 1.724 MB / 455.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2655, allocations: 61.56 kB / 455.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.266, allocations: 474.5 kB / 456.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.266, allocations: 35.8 kB / 456.3 MB, free: 27.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2662, allocations: 342.8 kB / 456.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.2664, allocations: 225 kB / 456.9 MB, free: 27.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.2666, allocations: 149.2 kB / 457 MB, free: 27.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.2667, allocations: 377.1 kB / 457.4 MB, free: 26.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.2674, allocations: 452.2 kB / 457.8 MB, free: 26.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.268, allocations: 0.5959 MB / 458.4 MB, free: 26.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006638/0.2747, allocations: 2.391 MB / 460.8 MB, free: 25.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.2747, allocations: 2.438 kB / 460.8 MB, free: 25.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0022/0.2769, allocations: 1.287 MB / 462.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2769, allocations: 10.97 kB / 462.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.277, allocations: 4.812 kB / 462.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006979/0.2777, allocations: 209.2 kB / 462.3 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2788, allocations: 258.2 kB / 462.6 MB, free: 24.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.283, allocations: 7.362 MB / 470 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.2836, allocations: 92.91 kB / 470 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.2837, allocations: 28.73 kB / 470.1 MB, free: 17.56 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.0004026/0.2841, allocations: 282.8 kB / 470.3 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2842, allocations: 55.27 kB / 470.4 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.2859, allocations: 0.9713 MB / 471.4 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2859, allocations: 9.828 kB / 471.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2859, allocations: 6.016 kB / 471.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.2859, allocations: 8.359 kB / 471.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009274/0.2869, allocations: 0.8889 MB / 472.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2869, allocations: 0 / 472.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.2882, allocations: 218.1 kB / 472.5 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.2886, allocations: 175.2 kB / 472.7 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.2887, allocations: 34.39 kB / 472.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.2919, allocations: 6.916 MB / 479.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2919, allocations: 0 / 479.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.2939, allocations: 1.362 MB / 481 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.294, allocations: 148.4 kB / 481.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2941, allocations: 27.98 kB / 481.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.2945, allocations: 42.5 kB / 481.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2947, allocations: 46.58 kB / 481.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.2947, allocations: 16.27 kB / 481.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.2951, allocations: 325.6 kB / 481.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2951, allocations: 0 / 481.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007482/0.2958, allocations: 263.2 kB / 481.8 MB, free: 8.387 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.002122/0.298, allocations: 1.941 MB / 483.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.2997, allocations: 1.476 MB / 485.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2997, allocations: 2.125 kB / 485.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008596/0.3006, allocations: 0.9586 MB / 486.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.3013, allocations: 186.2 kB / 486.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.3131, allocations: 9.032 MB / 495.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.3137, allocations: 0.9839 MB / 496.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006297/0.3143, allocations: 214.2 kB / 496.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.3147, allocations: 249.6 kB / 496.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3147, allocations: 0 / 496.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.3457, allocations: 17.57 MB / 0.5024 GB, free: 12.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.3459, allocations: 202.6 kB / 0.5026 GB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.366, allocations: 3.938 kB / 0.5026 GB, free: 12.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)