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.001995/0.001995, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002158/0.002158, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1692/0.1692, allocations: 22.35 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 71.91 kB / 380.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2056, allocations: 54.95 MB / 435.3 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003092/0.2087, allocations: 3.618 MB / 439 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2097, allocations: 0.9706 MB / 439.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2099, allocations: 6.031 kB / 439.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.2101, allocations: 75.66 kB / 440 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.2104, allocations: 222.8 kB / 440.2 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2107, allocations: 156 kB / 440.4 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.2113, allocations: 1.152 MB / 441.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.2119, allocations: 0.8002 MB / 442.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.2122, allocations: 460.4 kB / 442.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.2126, allocations: 0.555 MB / 443.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.2127, allocations: 121 kB / 443.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2128, allocations: 127.9 kB / 443.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.213, allocations: 356.7 kB / 443.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.2133, allocations: 0.4971 MB / 444.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.2139, allocations: 1.34 MB / 445.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2139, allocations: 3 kB / 445.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.214, allocations: 3.938 kB / 445.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.214, allocations: 0 / 445.8 MB, free: 33.65 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.001823/0.2158, allocations: 1.22 MB / 447 MB, free: 32.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2158, allocations: 11.91 kB / 447 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.2159, allocations: 110.6 kB / 447.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.2161, allocations: 85.72 kB / 447.2 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.2166, allocations: 0.5429 MB / 447.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2167, allocations: 87.91 kB / 447.8 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2168, allocations: 73.94 kB / 447.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2179, allocations: 0.8274 MB / 448.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2179, allocations: 4 kB / 448.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.218, allocations: 25.5 kB / 448.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.218, allocations: 18.31 kB / 448.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.2189, allocations: 0.7233 MB / 449.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.2226, allocations: 3.737 MB / 453.2 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.2245, allocations: 0.9192 MB / 454.2 MB, free: 28.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.225, allocations: 369.9 kB / 454.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.225, allocations: 6.031 kB / 454.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.225, allocations: 41.73 kB / 454.6 MB, free: 28.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.683e-06/0.225, allocations: 0 / 454.6 MB, free: 28.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002704/0.2277, allocations: 1.714 MB / 456.3 MB, free: 27.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.2278, allocations: 62.56 kB / 456.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.2282, allocations: 479 kB / 456.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.2283, allocations: 35.14 kB / 456.8 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2284, allocations: 353.2 kB / 457.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2285, allocations: 222.5 kB / 457.4 MB, free: 26.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.2287, allocations: 149.1 kB / 457.5 MB, free: 26.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2288, allocations: 373.8 kB / 457.9 MB, free: 26.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.2294, allocations: 454.2 kB / 458.4 MB, free: 26.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006028/0.23, allocations: 0.59 MB / 458.9 MB, free: 25.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/0.2361, allocations: 2.394 MB / 461.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2361, allocations: 1.406 kB / 461.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001974/0.2381, allocations: 1.293 MB / 462.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2381, allocations: 9.453 kB / 462.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2382, allocations: 5.312 kB / 462.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.2388, allocations: 213.1 kB / 462.9 MB, free: 24.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.2399, allocations: 260.8 kB / 463.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.2438, allocations: 7.9 MB / 471 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.2444, allocations: 93.77 kB / 471.1 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.2445, allocations: 29.5 kB / 471.1 MB, free: 16.63 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.0003479/0.2448, allocations: 283.2 kB / 471.4 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.2449, allocations: 58.42 kB / 471.5 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.2465, allocations: 0.9757 MB / 472.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2465, allocations: 10.14 kB / 472.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2465, allocations: 2.75 kB / 472.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2465, allocations: 2.766 kB / 472.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008697/0.2474, allocations: 0.8936 MB / 473.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2474, allocations: 0 / 473.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.2487, allocations: 217.9 kB / 473.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.2492, allocations: 182.4 kB / 473.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.2493, allocations: 34.44 kB / 473.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.2525, allocations: 7.451 MB / 481.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2525, allocations: 4.766 kB / 481.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.2543, allocations: 1.362 MB / 482.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.2544, allocations: 143.1 kB / 482.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2546, allocations: 33.02 kB / 482.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.255, allocations: 37.89 kB / 482.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.2551, allocations: 49.25 kB / 482.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.2552, allocations: 16.98 kB / 482.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.2555, allocations: 333.5 kB / 483.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2555, allocations: 0 / 483.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006999/0.2562, allocations: 257.7 kB / 483.4 MB, free: 6.918 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.002078/0.2583, allocations: 1.946 MB / 485.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.2603, allocations: 1.658 MB / 487 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2603, allocations: 0 / 487 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008376/0.2611, allocations: 0.9529 MB / 488 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.2618, allocations: 179.8 kB / 488.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.2731, allocations: 9.051 MB / 497.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.2736, allocations: 0.9821 MB / 498.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005974/0.2742, allocations: 218.5 kB / 498.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.2746, allocations: 249.9 kB / 498.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2746, allocations: 4 kB / 498.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.174/1.449, allocations: 18.13 MB / 0.5047 GB, free: 10.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.449, allocations: 203 kB / 0.5049 GB, free: 9.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/4.037, allocations: 0 / 0.5049 GB, free: 9.859 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)