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.001204/0.001204, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001195/0.001196, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08995/0.08995, allocations: 22.33 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 65.28 kB / 382.2 MB, free: 41.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 54.96 MB / 437.2 MB, free: 12.28 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.03051/0.1589, allocations: 21.49 MB / 458.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.1597, allocations: 215.2 kB / 458.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1598, allocations: 15.94 kB / 458.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.389e-05/0.1599, allocations: 23.72 kB / 458.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.1601, allocations: 103.2 kB / 459 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.1603, allocations: 39.95 kB / 459.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1606, allocations: 286.5 kB / 459.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1609, allocations: 140.6 kB / 459.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.161, allocations: 107.5 kB / 459.6 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1612, allocations: 91.58 kB / 459.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1612, allocations: 12 kB / 459.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.1613, allocations: 12 kB / 459.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.1613, allocations: 39.86 kB / 459.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1614, allocations: 111.4 kB / 459.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.1617, allocations: 215.2 kB / 460.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1617, allocations: 0 / 460.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1617, allocations: 0 / 460.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1618, allocations: 0 / 460.1 MB, free: 5.539 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.000755/0.1625, allocations: 0.5022 MB / 460.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1626, allocations: 20.02 kB / 460.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.1626, allocations: 24.66 kB / 460.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.163, allocations: 280.5 kB / 460.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.163, allocations: 12.38 kB / 460.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.163, allocations: 12.38 kB / 460.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.1633, allocations: 175.3 kB / 461.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1633, allocations: 0 / 461.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1634, allocations: 4 kB / 461.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1634, allocations: 4 kB / 461.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.1636, allocations: 91.89 kB / 461.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.1645, allocations: 0.7978 MB / 462 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1647, allocations: 86.53 kB / 462.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.1647, allocations: 36.84 kB / 462.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1648, allocations: 3.984 kB / 462.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1648, allocations: 38.5 kB / 462.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1648, allocations: 0 / 462.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003022/0.1651, allocations: 129.5 kB / 462.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1652, allocations: 55.41 kB / 462.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1654, allocations: 270.9 kB / 462.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1654, allocations: 29.64 kB / 462.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.1655, allocations: 143.9 kB / 462.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1656, allocations: 31.55 kB / 462.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1656, allocations: 29.72 kB / 462.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1658, allocations: 330.8 kB / 463.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.1659, allocations: 31.98 kB / 463.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.1659, allocations: 53.12 kB / 463.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.1664, allocations: 158.4 kB / 463.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1665, allocations: 0 / 463.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002176/0.1667, allocations: 137.3 kB / 463.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1667, allocations: 4 kB / 463.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1667, allocations: 4.062 kB / 463.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1667, allocations: 4 kB / 463.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1669, allocations: 23.98 kB / 463.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1669, allocations: 3.938 kB / 463.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.167, allocations: 23.69 kB / 463.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.167, allocations: 4 kB / 463.6 MB, free: 1.754 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.0001409/0.1672, allocations: 137.7 kB / 463.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.1672, allocations: 23.7 kB / 463.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.1673, allocations: 25.75 kB / 463.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1673, allocations: 3.938 kB / 463.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1673, allocations: 7.922 kB / 463.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1673, allocations: 4 kB / 463.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.1676, allocations: 233.6 kB / 464 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1676, allocations: 4 kB / 464 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1677, allocations: 23.98 kB / 464 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1678, allocations: 4 kB / 464 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1678, allocations: 4 kB / 464 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1678, allocations: 0 / 464 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1678, allocations: 3.938 kB / 464 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.1681, allocations: 231.2 kB / 464.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1682, allocations: 100.8 kB / 464.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1682, allocations: 0 / 464.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1683, allocations: 7.938 kB / 464.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1684, allocations: 15.98 kB / 464.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1684, allocations: 0 / 464.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1685, allocations: 194 kB / 464.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1686, allocations: 0 / 464.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1688, allocations: 40 kB / 464.6 MB, free: 0.6133 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 0.0001108/0.1689, allocations: 91.25 kB / 464.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1691, allocations: 71.92 kB / 464.8 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1691, allocations: 128 / 464.8 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.1692, allocations: 47.91 kB / 464.8 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1696, allocations: 51.86 kB / 464.9 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.1704, allocations: 0.4969 MB / 465.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1707, allocations: 0.7323 MB / 466.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.692e-05/0.1708, allocations: 30.28 kB / 466.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.1709, allocations: 19.44 kB / 466.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1709, allocations: 0 / 466.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Templates: time 0.005038/0.1759, allocations: 2.246 MB / 468.4 MB, free: 12.81 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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)