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: translateModel(AES.Devel_test_models.Test_liquid_circuit_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_004") translateModel(AES.Devel_test_models.Test_liquid_circuit_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007115/0.007115, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.225/0.225, allocations: 22.34 MB / 313.8 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003035, allocations: 8 kB / 382.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3118, allocations: 55.98 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.003778/0.3156, allocations: 3.7 MB / 442.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3175, allocations: 1.168 MB / 443.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3177, allocations: 12.75 kB / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.318, allocations: 111.5 kB / 443.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.3185, allocations: 365.9 kB / 443.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.3191, allocations: 245 kB / 444.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3208, allocations: 2.373 MB / 446.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.3221, allocations: 1.151 MB / 447.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007354/0.3229, allocations: 0.5447 MB / 448.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.3239, allocations: 0.8041 MB / 449 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.324, allocations: 85.25 kB / 449.1 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3242, allocations: 80.44 kB / 449.2 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.3246, allocations: 491.9 kB / 449.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.3252, allocations: 0.6933 MB / 450.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3266, allocations: 2.201 MB / 452.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3266, allocations: 0 / 452.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3266, allocations: 0 / 452.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.3267, allocations: 0 / 452.6 MB, free: 32.38 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.00327/0.3299, allocations: 1.64 MB / 454.2 MB, free: 31.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.33, allocations: 14.38 kB / 454.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.3302, allocations: 128 kB / 454.4 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.3312, allocations: 0.7988 MB / 455.1 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.3312, allocations: 74.81 kB / 455.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.3315, allocations: 123.8 kB / 455.3 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.334, allocations: 1.425 MB / 456.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.334, allocations: 3.938 kB / 456.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.3342, allocations: 40.38 kB / 456.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.3342, allocations: 25.16 kB / 456.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.3364, allocations: 1.255 MB / 458.1 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008587/0.345, allocations: 6.038 MB / 464.1 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.3491, allocations: 1.756 MB / 465.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.3502, allocations: 0.6818 MB / 466.6 MB, free: 25.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.3502, allocations: 17.73 kB / 466.6 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3503, allocations: 48.3 kB / 466.6 MB, free: 25.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.835e-06/0.3503, allocations: 0 / 466.6 MB, free: 25.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.006107/0.3564, allocations: 3.328 MB / 470 MB, free: 23.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3565, allocations: 65.97 kB / 470 MB, free: 23.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3578, allocations: 0.6057 MB / 470.6 MB, free: 22.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3579, allocations: 41.3 kB / 470.7 MB, free: 22.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/0.3583, allocations: 447.4 kB / 471.1 MB, free: 22.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.3587, allocations: 379.6 kB / 471.5 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.359, allocations: 107.9 kB / 471.6 MB, free: 22.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.3592, allocations: 409.5 kB / 472 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3606, allocations: 0.7358 MB / 472.7 MB, free: 21.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.362, allocations: 0.9227 MB / 473.6 MB, free: 20.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.3645, allocations: 1.718 MB / 475.4 MB, free: 20 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3645, allocations: 1.312 kB / 475.4 MB, free: 20 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004435/0.369, allocations: 2.242 MB / 477.6 MB, free: 19.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.369, allocations: 6.438 kB / 477.6 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.369, allocations: 8.969 kB / 477.6 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.3705, allocations: 423.2 kB / 478 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.3723, allocations: 393.5 kB / 478.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/0.3812, allocations: 14.72 MB / 493.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3825, allocations: 139 kB / 493.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/0.3826, allocations: 40 kB / 493.3 MB, free: 4.027 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.0007112/0.3834, allocations: 385.4 kB / 493.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.3836, allocations: 79.06 kB / 493.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.3864, allocations: 1.786 MB / 495.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3864, allocations: 12 kB / 495.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3864, allocations: 0 / 495.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.3865, allocations: 11.92 kB / 495.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.388, allocations: 1.473 MB / 497 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.388, allocations: 0 / 497 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.39, allocations: 347.6 kB / 497.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009605/0.3909, allocations: 340.3 kB / 497.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.3911, allocations: 68 kB / 497.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009452/0.4005, allocations: 13.85 MB / 0.4996 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4006, allocations: 3.938 kB / 0.4996 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.405, allocations: 2.439 MB / 0.502 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.4053, allocations: 179.9 kB / 0.5022 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.4055, allocations: 59.97 kB / 0.5023 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.4062, allocations: 63.88 kB / 0.5023 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.4065, allocations: 80.81 kB / 0.5024 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.4066, allocations: 27.98 kB / 0.5024 GB, free: 13.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000545/0.4071, allocations: 430.8 kB / 0.5028 GB, free: 12.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4071, allocations: 4 kB / 0.5028 GB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001332/0.4085, allocations: 451.1 kB / 0.5033 GB, free: 12.45 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.0002538/0.4087, allocations: 165.1 kB / 0.5034 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00371/0.4124, allocations: 2.767 MB / 0.5061 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4125, allocations: 1.062 kB / 0.5061 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.4147, allocations: 1.867 MB / 0.508 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4158, allocations: 268.6 kB / 0.5082 GB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009105/0.425, allocations: 6.266 MB / 0.5143 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.4258, allocations: 1.19 MB / 0.5155 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.4269, allocations: 370.8 kB / 0.5158 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.4272, allocations: 67.42 kB / 0.5159 GB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4272, allocations: 0 / 0.5159 GB, free: 15.18 MB / 398.1 MB Notification: Performance of Templates: time 0.03078/0.458, allocations: 18.7 MB / 0.5342 GB, free: 12.7 MB / 414.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_004.makefile (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 & ./AES_AES.Devel_test_models.Test_liquid_circuit_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)