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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 148 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.001154/0.001154, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1735/0.1735, allocations: 22.34 MB / 312.7 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.84 kB / 380.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1984, allocations: 54.94 MB / 435.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.002754/0.2012, allocations: 3.095 MB / 439 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.2022, allocations: 0.8876 MB / 439.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2023, allocations: 6.688 kB / 439.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2025, allocations: 91.03 kB / 440 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.2028, allocations: 224.6 kB / 440.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.2031, allocations: 162.4 kB / 440.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.2037, allocations: 1.086 MB / 441.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.2042, allocations: 0.774 MB / 442.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.2044, allocations: 419.9 kB / 442.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.2048, allocations: 0.4922 MB / 443.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.2049, allocations: 121.8 kB / 443.2 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2051, allocations: 115.3 kB / 443.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2053, allocations: 347.5 kB / 443.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.2056, allocations: 479.5 kB / 444.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.2061, allocations: 1.276 MB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2061, allocations: 0 / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2061, allocations: 0 / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2062, allocations: 0 / 445.4 MB, free: 34.35 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.001751/0.2079, allocations: 1.192 MB / 446.6 MB, free: 33.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.208, allocations: 9.875 kB / 446.6 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.111e-05/0.208, allocations: 101.1 kB / 446.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2082, allocations: 77.44 kB / 446.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.2087, allocations: 0.5201 MB / 447.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2087, allocations: 45.75 kB / 447.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.2088, allocations: 73.78 kB / 447.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.2097, allocations: 0.7729 MB / 448.2 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2098, allocations: 0 / 448.2 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.2098, allocations: 25.97 kB / 448.2 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2098, allocations: 12.25 kB / 448.2 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008622/0.2107, allocations: 0.6779 MB / 448.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.214, allocations: 3.582 MB / 452.5 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2158, allocations: 0.8714 MB / 453.4 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.2162, allocations: 369.3 kB / 453.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.2162, allocations: 7.594 kB / 453.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.2163, allocations: 38.09 kB / 453.8 MB, free: 29.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.463e-06/0.2163, allocations: 0 / 453.8 MB, free: 29.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00316/0.2194, allocations: 1.877 MB / 455.6 MB, free: 28.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.2195, allocations: 58.25 kB / 455.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.2199, allocations: 472 kB / 456.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.2199, allocations: 36.39 kB / 456.2 MB, free: 28.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.22, allocations: 324.9 kB / 456.5 MB, free: 27.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2201, allocations: 207 kB / 456.7 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.2203, allocations: 133.8 kB / 456.8 MB, free: 27.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.2204, allocations: 369.2 kB / 457.2 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.2209, allocations: 405.4 kB / 457.6 MB, free: 27.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.2215, allocations: 0.5574 MB / 458.2 MB, free: 26.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2225, allocations: 0.984 MB / 459.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2226, allocations: 1.5 kB / 459.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002036/0.2246, allocations: 1.291 MB / 460.4 MB, free: 25.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2246, allocations: 5.906 kB / 460.4 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2246, allocations: 5.125 kB / 460.4 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.2256, allocations: 265.5 kB / 460.7 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.2264, allocations: 211.7 kB / 460.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.2312, allocations: 9.5 MB / 470.4 MB, free: 16.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.2317, allocations: 83.12 kB / 470.5 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.2317, allocations: 30.58 kB / 470.5 MB, free: 16.34 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.0002533/0.232, allocations: 269.4 kB / 470.8 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.2321, allocations: 54.25 kB / 470.8 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.2337, allocations: 0.9955 MB / 471.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2338, allocations: 6.531 kB / 471.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2338, allocations: 0 / 471.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2338, allocations: 7.734 kB / 471.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.2345, allocations: 0.8528 MB / 472.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2346, allocations: 0 / 472.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.2354, allocations: 171 kB / 472.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.2361, allocations: 231.5 kB / 473.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.2362, allocations: 30.16 kB / 473.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004024/0.2402, allocations: 9.02 MB / 482.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2402, allocations: 0.8438 kB / 482.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.2421, allocations: 1.373 MB / 483.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.2422, allocations: 144.1 kB / 483.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.2423, allocations: 31.67 kB / 483.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.2427, allocations: 28.73 kB / 483.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2428, allocations: 46 kB / 483.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.2429, allocations: 16.14 kB / 483.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.2432, allocations: 326.3 kB / 484.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2432, allocations: 0 / 484.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006756/0.2439, allocations: 259.9 kB / 484.4 MB, free: 5.168 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.002075/0.2459, allocations: 1.953 MB / 486.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.2479, allocations: 1.734 MB / 488 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2479, allocations: 0 / 488 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.2489, allocations: 1.08 MB / 489.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.2495, allocations: 172.8 kB / 489.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.26, allocations: 8.522 MB / 497.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.2605, allocations: 0.9764 MB / 498.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.261, allocations: 208 kB / 499 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.2613, allocations: 228.1 kB / 499.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2613, allocations: 4 kB / 499.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.102/6.363, allocations: 18.51 MB / 0.5056 GB, free: 9.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/17.94, allocations: 4.562 kB / 0.5056 GB, free: 9.219 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)