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.001128/0.001128, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001168/0.001168, allocations: 198 kB / 16.91 MB, free: 6.184 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.17/1.17, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08402/0.08402, allocations: 22.33 MB / 313.1 MB, free: 9.055 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.64 kB / 380.9 MB, free: 41.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06717/0.06833, allocations: 54.95 MB / 435.9 MB, free: 13.48 MB / 318.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.02724/0.09558, allocations: 21.96 MB / 457.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005093/0.0961, allocations: 247.1 kB / 458.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.09622, allocations: 11.94 kB / 458.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.332e-05/0.09629, allocations: 23.83 kB / 458.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.09647, allocations: 87.3 kB / 458.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.09659, allocations: 31.97 kB / 458.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.09683, allocations: 286.5 kB / 458.5 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.09702, allocations: 128.6 kB / 458.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.09717, allocations: 119.4 kB / 458.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.09729, allocations: 95.5 kB / 458.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.09733, allocations: 12 kB / 458.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.967e-05/0.09736, allocations: 16 kB / 458.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.0974, allocations: 35.8 kB / 458.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.09749, allocations: 107.5 kB / 459 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.09764, allocations: 163.5 kB / 459.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.09765, allocations: 0 / 459.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09766, allocations: 0 / 459.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.09767, allocations: 0 / 459.2 MB, free: 6.324 MB / 334.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.0006125/0.09828, allocations: 0.51 MB / 459.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.09832, allocations: 12.03 kB / 459.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.09837, allocations: 24.66 kB / 459.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.09861, allocations: 268.5 kB / 460 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.09863, allocations: 8.375 kB / 460 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.09866, allocations: 12.38 kB / 460 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.09891, allocations: 171.1 kB / 460.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.09892, allocations: 0 / 460.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.09894, allocations: 8 kB / 460.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.09895, allocations: 4 kB / 460.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.09912, allocations: 91.89 kB / 460.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.09984, allocations: 0.8094 MB / 461.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.09999, allocations: 74.55 kB / 461.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.1001, allocations: 44.84 kB / 461.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1001, allocations: 4 kB / 461.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1001, allocations: 38.44 kB / 461.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.1001, allocations: 0 / 461.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002369/0.1004, allocations: 125.6 kB / 461.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1004, allocations: 51.41 kB / 461.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1006, allocations: 271 kB / 461.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1006, allocations: 33.7 kB / 461.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1007, allocations: 148 kB / 461.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1008, allocations: 31.55 kB / 461.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1008, allocations: 25.72 kB / 461.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.1009, allocations: 334.8 kB / 462.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.101, allocations: 23.98 kB / 462.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.101, allocations: 54.5 kB / 462.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.1015, allocations: 150.5 kB / 462.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.1015, allocations: 4 kB / 462.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000186/0.1017, allocations: 145.2 kB / 462.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1017, allocations: 4 kB / 462.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1017, allocations: 0 / 462.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1018, allocations: 4 kB / 462.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1019, allocations: 27.98 kB / 462.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1019, allocations: 3.938 kB / 462.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.102, allocations: 15.75 kB / 462.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.102, allocations: 4 kB / 462.7 MB, free: 2.559 MB / 334.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.000153/0.1022, allocations: 149.7 kB / 462.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1022, allocations: 23.72 kB / 462.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1023, allocations: 25.73 kB / 462.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1023, allocations: 0 / 462.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1023, allocations: 3.938 kB / 462.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1023, allocations: 0 / 462.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1025, allocations: 241.6 kB / 463.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1025, allocations: 0 / 463.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1027, allocations: 19.98 kB / 463.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1027, allocations: 0 / 463.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1027, allocations: 7.938 kB / 463.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1027, allocations: 0 / 463.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1027, allocations: 7.938 kB / 463.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.103, allocations: 235.1 kB / 463.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.103, allocations: 116.8 kB / 463.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1031, allocations: 0 / 463.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.1032, allocations: 0 / 463.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.1032, allocations: 11.92 kB / 463.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1032, allocations: 4 kB / 463.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1034, allocations: 194 kB / 463.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1034, allocations: 0 / 463.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1036, allocations: 36 kB / 463.7 MB, free: 1.406 MB / 334.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 7.559e-05/0.1037, allocations: 99.25 kB / 463.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1039, allocations: 75.91 kB / 463.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1039, allocations: 0 / 463.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.1039, allocations: 35.94 kB / 463.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1042, allocations: 51 kB / 464 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.105, allocations: 0.5806 MB / 464.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1052, allocations: 0.7284 MB / 465.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.1053, allocations: 19.44 kB / 465.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1053, allocations: 0 / 465.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Templates: time 0.003464/0.1088, allocations: 2.496 MB / 467.8 MB, free: 13.28 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)