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.0009137/0.0009138, allocations: 97.41 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.005333/0.005333, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2033/0.2033, allocations: 22.36 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 12 kB / 382.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 55.98 MB / 438.7 MB, free: 39.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.0023/0.2778, allocations: 2.926 MB / 441.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.279, allocations: 0.9061 MB / 442.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.2793, allocations: 5.281 kB / 442.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2794, allocations: 63.75 kB / 442.6 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.2798, allocations: 210.6 kB / 442.8 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.2802, allocations: 147.8 kB / 442.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.2811, allocations: 1.3 MB / 444.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.2817, allocations: 0.6135 MB / 444.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.2821, allocations: 325.4 kB / 445.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.2826, allocations: 461.6 kB / 445.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.571e-05/0.2827, allocations: 45.12 kB / 445.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2828, allocations: 43.69 kB / 445.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.283, allocations: 270.6 kB / 446 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.2833, allocations: 415.8 kB / 446.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006222/0.284, allocations: 1.197 MB / 447.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.284, allocations: 4 kB / 447.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.284, allocations: 0 / 447.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.284, allocations: 0 / 447.6 MB, free: 34.73 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.001828/0.2858, allocations: 1.069 MB / 448.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.2859, allocations: 13.03 kB / 448.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.286, allocations: 108.8 kB / 448.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.2861, allocations: 79.56 kB / 448.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.2866, allocations: 0.5236 MB / 449.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.2867, allocations: 45.84 kB / 449.4 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.2868, allocations: 64.88 kB / 449.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.2878, allocations: 0.7777 MB / 450.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2878, allocations: 2.625 kB / 450.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.2879, allocations: 18.62 kB / 450.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2879, allocations: 14.59 kB / 450.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.2888, allocations: 0.6833 MB / 451 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.2923, allocations: 3.596 MB / 454.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2941, allocations: 0.8803 MB / 455.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.2946, allocations: 358.5 kB / 455.8 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.2946, allocations: 5.594 kB / 455.8 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2946, allocations: 41.72 kB / 455.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.633e-06/0.2947, allocations: 0 / 455.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003472/0.2981, allocations: 1.9 MB / 457.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.2982, allocations: 60.66 kB / 457.8 MB, free: 28.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.2986, allocations: 468.8 kB / 458.3 MB, free: 28.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.2986, allocations: 36.05 kB / 458.3 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2988, allocations: 326.8 kB / 458.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2989, allocations: 204.7 kB / 458.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.299, allocations: 63.91 kB / 458.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.2991, allocations: 368 kB / 459.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.2996, allocations: 407.2 kB / 459.6 MB, free: 27.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.3002, allocations: 0.5653 MB / 460.2 MB, free: 27.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.3014, allocations: 0.9745 MB / 461.2 MB, free: 26.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3014, allocations: 2.953 kB / 461.2 MB, free: 26.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002242/0.3037, allocations: 1.296 MB / 462.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3037, allocations: 12.97 kB / 462.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3037, allocations: 5.797 kB / 462.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009485/0.3047, allocations: 270.7 kB / 462.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/0.3055, allocations: 215.6 kB / 463 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.3104, allocations: 8.842 MB / 471.8 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.311, allocations: 85.62 kB / 471.9 MB, free: 17.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.311, allocations: 36.56 kB / 471.9 MB, free: 17.48 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.0002898/0.3113, allocations: 266.3 kB / 472.2 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.3114, allocations: 54.56 kB / 472.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.3132, allocations: 0.9958 MB / 473.2 MB, free: 16.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3132, allocations: 10.41 kB / 473.2 MB, free: 16.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3132, allocations: 5.188 kB / 473.2 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3133, allocations: 6.609 kB / 473.3 MB, free: 16.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.3141, allocations: 0.8496 MB / 474.1 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3141, allocations: 0 / 474.1 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.315, allocations: 170.1 kB / 474.3 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006547/0.3157, allocations: 226.6 kB / 474.5 MB, free: 16.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.3158, allocations: 34.89 kB / 474.5 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/0.3198, allocations: 8.384 MB / 482.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3199, allocations: 0 / 482.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.3219, allocations: 1.377 MB / 484.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.322, allocations: 143.7 kB / 484.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.3221, allocations: 31.19 kB / 484.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.3225, allocations: 34.83 kB / 484.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3226, allocations: 47.22 kB / 484.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3227, allocations: 16.22 kB / 484.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.323, allocations: 333.5 kB / 484.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.323, allocations: 0 / 484.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006947/0.3237, allocations: 255.2 kB / 485.1 MB, free: 6.91 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.002237/0.326, allocations: 1.953 MB / 487.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.3277, allocations: 1.583 MB / 488.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3278, allocations: 320 / 488.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3288, allocations: 1.081 MB / 489.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.3295, allocations: 162 kB / 489.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.3416, allocations: 9.045 MB / 498.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.3421, allocations: 0.9686 MB / 499.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005915/0.3427, allocations: 216.3 kB / 0.4884 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.3431, allocations: 232.3 kB / 0.4886 GB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3431, allocations: 0 / 0.4886 GB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.293/2.636, allocations: 17.54 MB / 0.5058 GB, free: 11.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/2.636, allocations: 208 kB / 0.506 GB, free: 11.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/4.865, allocations: 0 / 0.506 GB, free: 11.02 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)