Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.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_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 98.27 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.01043/0.01043, allocations: 169.8 kB / 16.27 MB, free: 6.344 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2552/0.2552, allocations: 22.34 MB / 313.8 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004366, allocations: 8 kB / 382.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3588, allocations: 55.98 MB / 438.6 MB, free: 39.44 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.02773/0.3866, allocations: 21.47 MB / 460 MB, free: 31.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.3874, allocations: 245.8 kB / 460.3 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.3876, allocations: 12.31 kB / 460.3 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/0.3876, allocations: 20.05 kB / 460.3 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3879, allocations: 93.98 kB / 460.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.388, allocations: 26.95 kB / 460.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.3883, allocations: 279 kB / 460.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.3885, allocations: 110.5 kB / 460.8 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3887, allocations: 117.9 kB / 460.9 MB, free: 31.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3889, allocations: 79.62 kB / 461 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.3889, allocations: 7.594 kB / 461 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.389, allocations: 8.406 kB / 461 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.389, allocations: 31.88 kB / 461.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3891, allocations: 127.7 kB / 461.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3893, allocations: 205.6 kB / 461.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3894, allocations: 1.094 kB / 461.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3894, allocations: 0 / 461.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3894, allocations: 0 / 461.4 MB, free: 31.07 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006026/0.39, allocations: 494.4 kB / 461.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.39, allocations: 9.438 kB / 461.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.3901, allocations: 28 kB / 461.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3904, allocations: 268.6 kB / 462.2 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3904, allocations: 9.312 kB / 462.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3904, allocations: 16.09 kB / 462.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3907, allocations: 168.3 kB / 462.4 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3907, allocations: 3.938 kB / 462.4 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3908, allocations: 9.484 kB / 462.4 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3908, allocations: 7.453 kB / 462.4 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.391, allocations: 90 kB / 462.5 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.3917, allocations: 0.8109 MB / 463.3 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.3919, allocations: 73.83 kB / 463.3 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.3919, allocations: 37.25 kB / 463.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.392, allocations: 1.219 kB / 463.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.392, allocations: 35.75 kB / 463.4 MB, free: 29.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.392, allocations: 0 / 463.4 MB, free: 29.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002932/0.3923, allocations: 123 kB / 463.5 MB, free: 29.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.3923, allocations: 56.5 kB / 463.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3926, allocations: 276.5 kB / 463.9 MB, free: 29.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3926, allocations: 25.7 kB / 463.9 MB, free: 29.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.3927, allocations: 147 kB / 464 MB, free: 28.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.3928, allocations: 29.91 kB / 464.1 MB, free: 28.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.3928, allocations: 18.16 kB / 464.1 MB, free: 28.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.3929, allocations: 333 kB / 464.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.393, allocations: 29.81 kB / 464.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.393, allocations: 55.09 kB / 464.5 MB, free: 28.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.3936, allocations: 162.6 kB / 464.6 MB, free: 28.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3936, allocations: 0 / 464.6 MB, free: 28.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002087/0.3938, allocations: 133.5 kB / 464.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3938, allocations: 5.438 kB / 464.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3938, allocations: 1.75 kB / 464.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3938, allocations: 4.641 kB / 464.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.394, allocations: 23.58 kB / 464.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.394, allocations: 5.156 kB / 464.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.463e-05/0.3941, allocations: 19.88 kB / 464.8 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3942, allocations: 8.25 kB / 464.8 MB, free: 28.3 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.3943, allocations: 141.9 kB / 465 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.3944, allocations: 26.22 kB / 465 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.3944, allocations: 28.02 kB / 465 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3944, allocations: 5.469 kB / 465 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3945, allocations: 7.938 kB / 465 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3945, allocations: 0 / 465 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3947, allocations: 242.1 kB / 465.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3947, allocations: 0 / 465.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3949, allocations: 18.73 kB / 465.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3949, allocations: 0.7188 kB / 465.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3949, allocations: 1.312 kB / 465.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3949, allocations: 5.094 kB / 465.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3949, allocations: 3.938 kB / 465.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3952, allocations: 246.9 kB / 465.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.3953, allocations: 94.55 kB / 465.6 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3953, allocations: 5.531 kB / 465.6 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3954, allocations: 4.688 kB / 465.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3954, allocations: 5.75 kB / 465.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3954, allocations: 2.281 kB / 465.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3956, allocations: 193.3 kB / 465.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3956, allocations: 0 / 465.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3959, allocations: 38.19 kB / 465.9 MB, free: 27.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.928e-05/0.396, allocations: 97.06 kB / 466 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3962, allocations: 76.53 kB / 466.1 MB, free: 27.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3962, allocations: 1.406 kB / 466.1 MB, free: 27.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.3963, allocations: 33.94 kB / 466.1 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3967, allocations: 46.03 kB / 466.1 MB, free: 27.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.3975, allocations: 0.6127 MB / 466.8 MB, free: 26.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.3977, allocations: 0.7292 MB / 467.5 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3978, allocations: 29.94 kB / 467.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.3979, allocations: 19.94 kB / 467.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3979, allocations: 0 / 467.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of Templates: time 0.005266/0.4032, allocations: 2.13 MB / 469.7 MB, free: 25.92 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)