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.0008876/0.000888, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000918/0.0009179, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.204/0.204, allocations: 22.36 MB / 313.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 8 kB / 382 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2807, allocations: 55.98 MB / 438 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.002618/0.2833, allocations: 3.076 MB / 441.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2846, allocations: 0.9286 MB / 442 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.2848, allocations: 8.844 kB / 442 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.285, allocations: 64.75 kB / 442.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.2854, allocations: 245.9 kB / 442.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.2858, allocations: 120.5 kB / 442.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.2866, allocations: 1.184 MB / 443.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.2871, allocations: 0.5716 MB / 444.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.2874, allocations: 340.3 kB / 444.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.2879, allocations: 483.8 kB / 445 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.288, allocations: 48.38 kB / 445.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2881, allocations: 55.16 kB / 445.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.2883, allocations: 282.7 kB / 445.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2884, allocations: 183.4 kB / 445.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.289, allocations: 1.062 MB / 446.6 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.289, allocations: 0 / 446.6 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.289, allocations: 0 / 446.6 MB, free: 34.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.289, allocations: 0 / 446.6 MB, free: 34.72 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.001804/0.2908, allocations: 1.103 MB / 447.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2909, allocations: 8.781 kB / 447.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.291, allocations: 107.2 kB / 447.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.2912, allocations: 82.38 kB / 447.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.2918, allocations: 0.5356 MB / 448.5 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.2918, allocations: 73.3 kB / 448.5 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2919, allocations: 77.3 kB / 448.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.2932, allocations: 0.8268 MB / 449.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.2932, allocations: 4 kB / 449.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.2933, allocations: 24.94 kB / 449.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2933, allocations: 15.41 kB / 449.5 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2943, allocations: 0.7269 MB / 450.2 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.2985, allocations: 3.768 MB / 454 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3007, allocations: 0.9077 MB / 454.9 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.3013, allocations: 368.3 kB / 455.2 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.3013, allocations: 6.438 kB / 455.3 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3014, allocations: 38.28 kB / 455.3 MB, free: 29.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.045e-06/0.3014, allocations: 4 kB / 455.3 MB, free: 29.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002958/0.3043, allocations: 1.752 MB / 457 MB, free: 28.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3044, allocations: 57.62 kB / 457.1 MB, free: 28.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.3049, allocations: 475.3 kB / 457.6 MB, free: 28.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.305, allocations: 31.92 kB / 457.6 MB, free: 28.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3052, allocations: 346.9 kB / 457.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.3054, allocations: 223.9 kB / 458.2 MB, free: 28.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.3054, allocations: 15.47 kB / 458.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.3055, allocations: 378.9 kB / 458.5 MB, free: 27.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.3061, allocations: 454 kB / 459 MB, free: 27.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.3068, allocations: 0.5916 MB / 459.6 MB, free: 27.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007471/0.3075, allocations: 0.5053 MB / 460.1 MB, free: 26.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3076, allocations: 1.031 kB / 460.1 MB, free: 26.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002363/0.3099, allocations: 1.295 MB / 461.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.31, allocations: 7.125 kB / 461.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.31, allocations: 6.406 kB / 461.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/0.3108, allocations: 210.9 kB / 461.6 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.312, allocations: 264.2 kB / 461.9 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.3164, allocations: 7.366 MB / 469.2 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.3173, allocations: 96.91 kB / 469.3 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.3174, allocations: 38.19 kB / 469.4 MB, free: 19.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004665/0.3178, allocations: 276.4 kB / 469.6 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3179, allocations: 54.41 kB / 469.7 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.3196, allocations: 0.9768 MB / 470.7 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3196, allocations: 6.062 kB / 470.7 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3196, allocations: 1.562 kB / 470.7 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3197, allocations: 7.047 kB / 470.7 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3207, allocations: 0.8935 MB / 471.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3208, allocations: 0 / 471.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.3221, allocations: 218.1 kB / 471.8 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.3226, allocations: 165.3 kB / 471.9 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/0.3227, allocations: 35.25 kB / 472 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.3263, allocations: 6.917 MB / 478.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3263, allocations: 0 / 478.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.3285, allocations: 1.359 MB / 480.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.3287, allocations: 143.2 kB / 480.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3288, allocations: 37.05 kB / 480.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.3293, allocations: 37.42 kB / 480.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3295, allocations: 51.64 kB / 480.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.3295, allocations: 15.5 kB / 480.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004047/0.3299, allocations: 323.7 kB / 480.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3299, allocations: 3.938 kB / 480.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000963/0.3309, allocations: 262 kB / 481.1 MB, free: 9.875 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002422/0.3333, allocations: 1.935 MB / 483 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.3354, allocations: 1.47 MB / 484.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3355, allocations: 384 / 484.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.3365, allocations: 0.9584 MB / 485.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.3375, allocations: 178.3 kB / 485.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.3499, allocations: 6.783 MB / 492.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.3507, allocations: 0.9734 MB / 493.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008412/0.3515, allocations: 216.2 kB / 493.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.352, allocations: 252.9 kB / 493.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.352, allocations: 0 / 493.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3873, allocations: 17.13 MB / 0.499 GB, free: 2.094 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.3876, allocations: 193.4 kB / 0.4992 GB, free: 1.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.494, allocations: 4 kB / 0.4992 GB, free: 1.844 MB / 366.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/linux/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) Environment - environmentSimulation: