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: translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.00176/0.00176, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09355/0.09355, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08988, allocations: 54.96 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004038/0.09395, allocations: 3.383 MB / 496.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.09564, allocations: 0.9313 MB / 497 MB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.09594, allocations: 11.94 kB / 497 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.09622, allocations: 99.09 kB / 497.1 MB, free: 304 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005443/0.09677, allocations: 242.5 kB / 497.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.09726, allocations: 179.7 kB / 497.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.09834, allocations: 1.159 MB / 498.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.09926, allocations: 0.8031 MB / 499.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.09984, allocations: 450.8 kB / 499.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.1006, allocations: 0.5218 MB / 0.4887 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.1008, allocations: 124 kB / 0.4888 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.101, allocations: 124 kB / 0.4889 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.1014, allocations: 359.1 kB / 0.4893 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.1019, allocations: 0.4902 MB / 0.4898 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.103, allocations: 1.359 MB / 0.4911 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.103, allocations: 3.984 kB / 0.4911 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.103, allocations: 0 / 0.4911 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.1031, allocations: 4 kB / 0.4911 GB, free: 10.48 MB / 382.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.002656/0.1057, allocations: 1.224 MB / 0.4923 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1058, allocations: 8.031 kB / 0.4923 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.106, allocations: 87.91 kB / 0.4924 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.1068, allocations: 0.5381 MB / 0.4929 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.1069, allocations: 79.58 kB / 0.493 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.107, allocations: 72.28 kB / 0.4931 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1084, allocations: 0.8342 MB / 0.4939 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1084, allocations: 0 / 0.4939 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.1085, allocations: 31.94 kB / 0.4939 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1085, allocations: 12 kB / 0.4939 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.1097, allocations: 0.7274 MB / 0.4946 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005069/0.1148, allocations: 3.732 MB / 0.4983 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.117, allocations: 0.9034 MB / 0.4992 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.1176, allocations: 370.4 kB / 0.4995 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.1176, allocations: 8.547 kB / 0.4995 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1177, allocations: 43.11 kB / 0.4996 GB, free: 1.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.014e-06/0.1177, allocations: 0 / 0.4996 GB, free: 1.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.1905/0.3082, allocations: 1.719 MB / 0.5012 GB, free: 22.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3082, allocations: 59.66 kB / 0.5013 GB, free: 22.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.3088, allocations: 475.2 kB / 0.5017 GB, free: 21.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.3089, allocations: 34.48 kB / 0.5018 GB, free: 21.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.309, allocations: 347.4 kB / 0.5021 GB, free: 21.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3092, allocations: 224.4 kB / 0.5023 GB, free: 21.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.3094, allocations: 145.1 kB / 0.5025 GB, free: 21.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.3095, allocations: 374.8 kB / 0.5028 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.3101, allocations: 454.1 kB / 0.5033 GB, free: 21.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.3107, allocations: 0.5865 MB / 0.5038 GB, free: 21.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00647/0.3172, allocations: 2.397 MB / 0.5062 GB, free: 20.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3173, allocations: 2.5 kB / 0.5062 GB, free: 20.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002164/0.3194, allocations: 1.286 MB / 0.5074 GB, free: 20.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3195, allocations: 6.625 kB / 0.5074 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3195, allocations: 5.656 kB / 0.5074 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.3202, allocations: 214.8 kB / 0.5076 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.3215, allocations: 265.6 kB / 0.5079 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/0.3259, allocations: 7.902 MB / 0.5156 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.3265, allocations: 86.55 kB / 0.5157 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.3266, allocations: 37.62 kB / 0.5157 GB, free: 13.84 MB / 382.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.0003914/0.327, allocations: 279.5 kB / 0.516 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3271, allocations: 57.66 kB / 0.516 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.3288, allocations: 0.9737 MB / 0.517 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3289, allocations: 9.844 kB / 0.517 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3289, allocations: 1.953 kB / 0.517 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3289, allocations: 4.031 kB / 0.517 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3299, allocations: 0.8897 MB / 0.5179 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3299, allocations: 2.75 kB / 0.5179 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.3313, allocations: 214.3 kB / 0.5181 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.3318, allocations: 175.1 kB / 0.5183 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.3319, allocations: 36.91 kB / 0.5183 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.3356, allocations: 7.451 MB / 0.5256 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3356, allocations: 0 / 0.5256 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.3378, allocations: 1.359 MB / 0.5269 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.3379, allocations: 144 kB / 0.527 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.3381, allocations: 31.81 kB / 0.5271 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.3385, allocations: 28.75 kB / 0.5271 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.3387, allocations: 55.5 kB / 0.5271 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.3388, allocations: 19.86 kB / 0.5272 GB, free: 5.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004678/0.3392, allocations: 326.5 kB / 0.5275 GB, free: 5.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3392, allocations: 0.5 kB / 0.5275 GB, free: 5.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009555/0.3402, allocations: 262.2 kB / 0.5277 GB, free: 5.738 MB / 382.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.0001411/0.3403, allocations: 134.7 kB / 0.5279 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.3423, allocations: 1.477 MB / 0.5293 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3424, allocations: 0 / 0.5293 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009495/0.3433, allocations: 0.9539 MB / 0.5302 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.344, allocations: 183.9 kB / 0.5304 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.3484, allocations: 2.961 MB / 0.5333 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.3489, allocations: 0.9868 MB / 0.5343 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.3492, allocations: 53.55 kB / 0.5343 GB, free: 1.465 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3492, allocations: 0 / 0.5343 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Templates: time 0.02471/0.3739, allocations: 22.36 MB / 0.5561 GB, free: 1.109 MB / 398.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_003.makefile (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 & ./AES_AES.Devel_test_models.Test_liquid_circuit_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)