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.0007752/0.0007752, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00482/0.00482, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2053/0.2053, allocations: 22.33 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002558, allocations: 8 kB / 382.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2031, allocations: 55.98 MB / 438.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.00233/0.2055, allocations: 3.237 MB / 441.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2067, allocations: 0.9482 MB / 442.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.207, allocations: 10.28 kB / 442.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.2071, allocations: 71.64 kB / 442.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.2076, allocations: 233.1 kB / 443.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.2079, allocations: 156.7 kB / 443.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008202/0.2087, allocations: 1.364 MB / 444.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.2093, allocations: 0.6433 MB / 445.3 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.2097, allocations: 345 kB / 445.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.2102, allocations: 484.5 kB / 446.1 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.595e-05/0.2103, allocations: 52.88 kB / 446.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.2104, allocations: 48.75 kB / 446.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2105, allocations: 277.4 kB / 446.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.2108, allocations: 445.2 kB / 446.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.2115, allocations: 1.257 MB / 448.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2115, allocations: 3.938 kB / 448.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2115, allocations: 2.719 kB / 448.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.2115, allocations: 0 / 448.2 MB, free: 34.22 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.001756/0.2133, allocations: 1.089 MB / 449.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.2133, allocations: 15.22 kB / 449.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.2134, allocations: 116.3 kB / 449.4 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2136, allocations: 85.97 kB / 449.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.2141, allocations: 0.5349 MB / 450 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.2142, allocations: 83.14 kB / 450.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2143, allocations: 80.25 kB / 450.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2154, allocations: 0.8295 MB / 451 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2154, allocations: 4 kB / 451 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.2155, allocations: 29.19 kB / 451.1 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2155, allocations: 16.19 kB / 451.1 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009356/0.2164, allocations: 0.7183 MB / 451.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.2201, allocations: 3.769 MB / 455.6 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.2219, allocations: 0.9097 MB / 456.5 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.2224, allocations: 377.6 kB / 456.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.2224, allocations: 5.969 kB / 456.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2225, allocations: 42.72 kB / 456.9 MB, free: 29.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.234e-06/0.2225, allocations: 4 kB / 456.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00273/0.2252, allocations: 1.749 MB / 458.6 MB, free: 28.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.2252, allocations: 57.09 kB / 458.7 MB, free: 28.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.2257, allocations: 474.7 kB / 459.2 MB, free: 27.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.2257, allocations: 36.2 kB / 459.2 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2258, allocations: 341.4 kB / 459.5 MB, free: 27.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.226, allocations: 227 kB / 459.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.2261, allocations: 73.84 kB / 459.8 MB, free: 27.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.2261, allocations: 377.3 kB / 460.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.2267, allocations: 455.9 kB / 460.6 MB, free: 26.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.2274, allocations: 0.5904 MB / 461.2 MB, free: 26.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006346/0.2337, allocations: 2.488 MB / 463.7 MB, free: 25.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2337, allocations: 1.344 kB / 463.7 MB, free: 25.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001959/0.2357, allocations: 1.297 MB / 465 MB, free: 25.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2357, allocations: 7.875 kB / 465 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2357, allocations: 4.969 kB / 465 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.2364, allocations: 218.6 kB / 465.2 MB, free: 24.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.2376, allocations: 260.5 kB / 465.5 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.2413, allocations: 7.365 MB / 472.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.2418, allocations: 92.55 kB / 473 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.2419, allocations: 33.41 kB / 473 MB, free: 17.82 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.0003131/0.2422, allocations: 281.8 kB / 473.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.2423, allocations: 58.19 kB / 473.3 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.2439, allocations: 0.9721 MB / 474.3 MB, free: 17.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2439, allocations: 14.56 kB / 474.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2439, allocations: 5.188 kB / 474.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2439, allocations: 2.812 kB / 474.3 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.2448, allocations: 0.8896 MB / 475.2 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2448, allocations: 1.156 kB / 475.2 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.246, allocations: 217.8 kB / 475.4 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/0.2465, allocations: 178.2 kB / 475.6 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.2465, allocations: 30.53 kB / 475.6 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.2496, allocations: 6.924 MB / 482.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2496, allocations: 0 / 482.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.2514, allocations: 1.366 MB / 483.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.2515, allocations: 140.1 kB / 484.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.2516, allocations: 31.95 kB / 484.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.252, allocations: 46.72 kB / 484.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2521, allocations: 41.62 kB / 484.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.2521, allocations: 17.58 kB / 484.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.2524, allocations: 332.7 kB / 484.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2524, allocations: 0 / 484.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.2531, allocations: 255.2 kB / 484.8 MB, free: 8.648 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.002038/0.2551, allocations: 1.944 MB / 486.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.2568, allocations: 1.485 MB / 488.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2568, allocations: 0 / 488.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008359/0.2576, allocations: 0.9599 MB / 489.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.2583, allocations: 175 kB / 489.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.2691, allocations: 9.374 MB / 498.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.2696, allocations: 0.9772 MB / 499.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005567/0.2702, allocations: 216.9 kB / 499.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.2705, allocations: 247.4 kB / 0.4884 GB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2706, allocations: 0 / 0.4884 GB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.576/1.846, allocations: 17.33 MB / 0.5053 GB, free: 11.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/1.847, allocations: 195.8 kB / 0.5055 GB, free: 11.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/4.076, allocations: 4.062 kB / 0.5055 GB, free: 11.67 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)