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.0008978/0.0008977, 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.005537/0.005537, allocations: 171.2 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2345/0.2345, allocations: 22.34 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 19.94 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3253, allocations: 55.98 MB / 438.6 MB, free: 39.31 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.03093/0.3563, allocations: 21.6 MB / 460.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.3572, allocations: 252.5 kB / 460.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3574, allocations: 12.31 kB / 460.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.597e-05/0.3575, allocations: 20.3 kB / 460.4 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.3577, allocations: 82.41 kB / 460.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.3579, allocations: 30.69 kB / 460.6 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.3581, allocations: 272.5 kB / 460.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.3584, allocations: 119.3 kB / 460.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3585, allocations: 105.9 kB / 461 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3587, allocations: 83.22 kB / 461.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3587, allocations: 7.75 kB / 461.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.35e-05/0.3588, allocations: 12.75 kB / 461.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.3588, allocations: 39.42 kB / 461.2 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3589, allocations: 128.8 kB / 461.3 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3591, allocations: 202.2 kB / 461.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3591, allocations: 0 / 461.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3591, allocations: 0 / 461.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3591, allocations: 0.9062 kB / 461.5 MB, free: 30.89 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.0005527/0.3597, allocations: 490.6 kB / 462 MB, free: 30.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3597, allocations: 8.75 kB / 462 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.3598, allocations: 24.81 kB / 462 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.36, allocations: 271.6 kB / 462.3 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3601, allocations: 13.84 kB / 462.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.3601, allocations: 13.06 kB / 462.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.3603, allocations: 166.9 kB / 462.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3604, allocations: 1.312 kB / 462.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3604, allocations: 5.344 kB / 462.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.3604, allocations: 7.562 kB / 462.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.3606, allocations: 89.33 kB / 462.6 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.3613, allocations: 0.8122 MB / 463.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.3614, allocations: 73.41 kB / 463.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.3615, allocations: 42.27 kB / 463.5 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.3615, allocations: 1.031 kB / 463.5 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3616, allocations: 31.72 kB / 463.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3616, allocations: 0 / 463.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002817/0.3619, allocations: 134.5 kB / 463.7 MB, free: 29.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3619, allocations: 52.66 kB / 463.7 MB, free: 29.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3621, allocations: 272.1 kB / 464 MB, free: 28.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3622, allocations: 29.12 kB / 464 MB, free: 28.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3622, allocations: 144.7 kB / 464.1 MB, free: 28.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3623, allocations: 30.52 kB / 464.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.3623, allocations: 17.47 kB / 464.2 MB, free: 28.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.3624, allocations: 330.6 kB / 464.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.3624, allocations: 29.27 kB / 464.5 MB, free: 28.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.3625, allocations: 51.95 kB / 464.6 MB, free: 28.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.363, allocations: 161.3 kB / 464.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.363, allocations: 0 / 464.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000202/0.3632, allocations: 134.9 kB / 464.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3632, allocations: 10.06 kB / 464.9 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3633, allocations: 0 / 464.9 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3633, allocations: 1.281 kB / 464.9 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3634, allocations: 29.05 kB / 464.9 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3635, allocations: 5.531 kB / 464.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/0.3636, allocations: 18.88 kB / 465 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.3636, allocations: 7.922 kB / 465 MB, free: 28.12 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.0001372/0.3637, allocations: 138.2 kB / 465.1 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3638, allocations: 27.19 kB / 465.1 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.3638, allocations: 30.86 kB / 465.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3638, allocations: 1.406 kB / 465.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3638, allocations: 3.938 kB / 465.2 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3638, allocations: 1.531 kB / 465.2 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3641, allocations: 242.3 kB / 465.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3641, allocations: 3.938 kB / 465.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.3642, allocations: 26.97 kB / 465.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3642, allocations: 0 / 465.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3642, allocations: 1.344 kB / 465.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3642, allocations: 0 / 465.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3643, allocations: 5.406 kB / 465.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3645, allocations: 230.8 kB / 465.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3646, allocations: 98.31 kB / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3646, allocations: 0 / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3647, allocations: 9.594 kB / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.3647, allocations: 9 kB / 465.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.3647, allocations: 2.219 kB / 465.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3649, allocations: 193.3 kB / 466 MB, free: 27.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3649, allocations: 0 / 466 MB, free: 27.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3652, allocations: 47.19 kB / 466 MB, free: 27.3 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.181e-05/0.3653, allocations: 92.19 kB / 466.1 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.3654, allocations: 74.44 kB / 466.2 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3654, allocations: 4.062 kB / 466.2 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.3655, allocations: 38.25 kB / 466.2 MB, free: 27.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3659, allocations: 41.61 kB / 466.3 MB, free: 27.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.3667, allocations: 0.6028 MB / 466.9 MB, free: 26.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.3669, allocations: 0.7404 MB / 467.6 MB, free: 26.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.3671, allocations: 30.94 kB / 467.6 MB, free: 26.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3671, allocations: 17.69 kB / 467.6 MB, free: 26.03 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3671, allocations: 1.25 kB / 467.6 MB, free: 26.03 MB / 350.1 MB Notification: Performance of Templates: time 0.005987/0.3731, allocations: 2.135 MB / 469.8 MB, free: 25.79 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)