Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.001207/0.001207, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001277/0.001277, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1666/0.1666, allocations: 22.36 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 380.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2108, allocations: 54.94 MB / 435.3 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.003222/0.214, allocations: 4.102 MB / 439.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2152, allocations: 1.176 MB / 440.6 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.2154, allocations: 11.62 kB / 440.6 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.2156, allocations: 114.4 kB / 440.7 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.216, allocations: 351.1 kB / 441.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.2164, allocations: 246.1 kB / 441.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.2174, allocations: 1.946 MB / 443.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.2183, allocations: 1.441 MB / 444.7 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.2187, allocations: 0.7447 MB / 445.5 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.2194, allocations: 0.941 MB / 446.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.2196, allocations: 215.1 kB / 446.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.2198, allocations: 218.4 kB / 446.8 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.2201, allocations: 0.6265 MB / 447.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.2205, allocations: 0.8317 MB / 448.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.2216, allocations: 2.349 MB / 450.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2216, allocations: 0 / 450.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2216, allocations: 0 / 450.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.2216, allocations: 0 / 450.6 MB, free: 31.42 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002872/0.2245, allocations: 1.852 MB / 452.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2245, allocations: 8.656 kB / 452.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.2247, allocations: 164 kB / 452.6 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.2249, allocations: 122.5 kB / 452.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.2257, allocations: 0.794 MB / 453.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.2257, allocations: 75.94 kB / 453.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.2259, allocations: 123.1 kB / 453.8 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.2278, allocations: 1.423 MB / 455.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.2278, allocations: 0 / 455.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.2279, allocations: 39.91 kB / 455.2 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.228, allocations: 33.22 kB / 455.2 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.2296, allocations: 1.254 MB / 456.5 MB, free: 28.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00659/0.2362, allocations: 5.992 MB / 462.5 MB, free: 24.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.2399, allocations: 1.76 MB / 464.3 MB, free: 24.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008695/0.2408, allocations: 0.6831 MB / 464.9 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.2409, allocations: 13.89 kB / 464.9 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2409, allocations: 48.31 kB / 465 MB, free: 23.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.455e-06/0.2409, allocations: 0 / 465 MB, free: 23.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.005066/0.246, allocations: 3.281 MB / 468.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.246, allocations: 61.58 kB / 468.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.2466, allocations: 0.6059 MB / 468.9 MB, free: 21.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.2467, allocations: 45.77 kB / 469 MB, free: 21.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.2469, allocations: 455.1 kB / 469.4 MB, free: 21.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.2471, allocations: 378.4 kB / 469.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.2475, allocations: 213.9 kB / 470 MB, free: 20.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.2476, allocations: 404.6 kB / 470.4 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000964/0.2486, allocations: 0.7361 MB / 471.1 MB, free: 20.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2496, allocations: 0.9232 MB / 472.1 MB, free: 19.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.2517, allocations: 1.722 MB / 473.8 MB, free: 18.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.2517, allocations: 2.125 kB / 473.8 MB, free: 18.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003469/0.2552, allocations: 2.218 MB / 476 MB, free: 17.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2552, allocations: 6.188 kB / 476 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2553, allocations: 5.109 kB / 476 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.2565, allocations: 419.3 kB / 476.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.2582, allocations: 388.9 kB / 476.8 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007596/0.2658, allocations: 15.79 MB / 492.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.2668, allocations: 138.5 kB / 492.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.2669, allocations: 46.3 kB / 492.8 MB, free: 2.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (146): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0005195/0.2674, allocations: 384.6 kB / 493.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.2676, allocations: 83.61 kB / 493.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.2701, allocations: 1.789 MB / 495 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-06/0.2701, allocations: 12 kB / 495 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2701, allocations: 0 / 495 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.2701, allocations: 7.984 kB / 495 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.2716, allocations: 1.477 MB / 496.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2716, allocations: 4 kB / 496.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.2735, allocations: 347.6 kB / 496.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.2744, allocations: 348.2 kB / 497.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.2745, allocations: 59.97 kB / 497.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/0.283, allocations: 14.9 MB / 0.5002 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.283, allocations: 0 / 0.5002 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.2867, allocations: 2.447 MB / 0.5025 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.287, allocations: 179.9 kB / 0.5027 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.2871, allocations: 51.98 kB / 0.5028 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.2878, allocations: 63.86 kB / 0.5028 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.288, allocations: 80.83 kB / 0.5029 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.2881, allocations: 31.98 kB / 0.5029 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004528/0.2886, allocations: 430.8 kB / 0.5034 GB, free: 9.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2886, allocations: 0 / 0.5034 GB, free: 9.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00116/0.2897, allocations: 447.1 kB / 0.5038 GB, free: 9.465 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (86): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.003752/0.2935, allocations: 3.06 MB / 0.5068 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.2976, allocations: 3.314 MB / 0.51 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2976, allocations: 3.938 kB / 0.51 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.2994, allocations: 1.857 MB / 0.5118 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009495/0.3003, allocations: 286.4 kB / 0.5121 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.3205, allocations: 15.21 MB / 0.5269 GB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.3212, allocations: 1.183 MB / 0.5281 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008976/0.3221, allocations: 362.9 kB / 0.5284 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/0.3226, allocations: 407.3 kB / 0.5288 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3226, allocations: 0 / 0.5288 GB, free: 15.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.777/2.099, allocations: 30.08 MB / 0.5582 GB, free: 1.344 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/2.1, allocations: 206.9 kB / 0.5584 GB, free: 1.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/4.726, allocations: 3.984 kB / 0.5584 GB, free: 1.082 MB / 430.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)