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: "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008327/0.0008326, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008245/0.0008246, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.352 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.35 MB / 313.4 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 12 kB / 382 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2608, allocations: 55.97 MB / 438 MB, free: 39.29 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.002071/0.2629, allocations: 2.027 MB / 440 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005285/0.2634, allocations: 243.9 kB / 440.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2636, allocations: 14.25 kB / 440.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.794e-05/0.2637, allocations: 21.66 kB / 440.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.2639, allocations: 103.8 kB / 440.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2641, allocations: 27.77 kB / 440.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2643, allocations: 268.2 kB / 440.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2645, allocations: 110.3 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2647, allocations: 117.1 kB / 440.9 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2648, allocations: 74.09 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2648, allocations: 7.969 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.2649, allocations: 8.75 kB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.2649, allocations: 31.95 kB / 441.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.265, allocations: 70.61 kB / 441.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.2651, allocations: 151.9 kB / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2651, allocations: 0 / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2651, allocations: 0 / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2651, allocations: 3.938 kB / 441.3 MB, free: 37.14 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.0005172/0.2656, allocations: 496.1 kB / 441.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2657, allocations: 10.19 kB / 441.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.2657, allocations: 48.48 kB / 441.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.2658, allocations: 23.34 kB / 441.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.266, allocations: 260.6 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.266, allocations: 7.219 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.2661, allocations: 12.72 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2663, allocations: 171 kB / 442.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2663, allocations: 7.953 kB / 442.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2663, allocations: 10.97 kB / 442.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2664, allocations: 6.219 kB / 442.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2665, allocations: 91.66 kB / 442.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.2672, allocations: 0.7996 MB / 443.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2674, allocations: 72.06 kB / 443.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.2674, allocations: 36.78 kB / 443.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2675, allocations: 23.86 kB / 443.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2675, allocations: 36.52 kB / 443.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2675, allocations: 0 / 443.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002557/0.2678, allocations: 119.8 kB / 443.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2678, allocations: 51.41 kB / 443.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.268, allocations: 263.6 kB / 443.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.268, allocations: 29.7 kB / 443.8 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.2681, allocations: 143.6 kB / 443.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2682, allocations: 33.73 kB / 444 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.2682, allocations: 4 kB / 444 MB, free: 34.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.2682, allocations: 335 kB / 444.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.2683, allocations: 23.91 kB / 444.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.2684, allocations: 62.03 kB / 444.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.2684, allocations: 32.38 kB / 444.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2684, allocations: 4 kB / 444.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001821/0.2686, allocations: 133.2 kB / 444.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2687, allocations: 10.45 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2687, allocations: 0 / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2687, allocations: 2.875 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2688, allocations: 23.88 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2689, allocations: 4.25 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.2689, allocations: 21.66 kB / 444.6 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.269, allocations: 6.453 kB / 444.6 MB, free: 34.41 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.2691, allocations: 133.5 kB / 444.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2692, allocations: 32.16 kB / 444.8 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.2692, allocations: 28.91 kB / 444.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2692, allocations: 3.719 kB / 444.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2692, allocations: 0 / 444.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2693, allocations: 3.328 kB / 444.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2695, allocations: 245.1 kB / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2695, allocations: 3.188 kB / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2696, allocations: 16.53 kB / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2696, allocations: 0 / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2696, allocations: 6.406 kB / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2696, allocations: 7.891 kB / 445.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2697, allocations: 0 / 445.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2699, allocations: 227.7 kB / 445.3 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.2699, allocations: 102.8 kB / 445.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.27, allocations: 0 / 445.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.2701, allocations: 8 kB / 445.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.2701, allocations: 10.25 kB / 445.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2701, allocations: 3.031 kB / 445.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.2703, allocations: 191.2 kB / 445.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2703, allocations: 0 / 445.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.2705, allocations: 39.16 kB / 445.7 MB, free: 33.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003659/0.2709, allocations: 0.7658 MB / 446.4 MB, free: 32.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.271, allocations: 75.02 kB / 446.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2711, allocations: 0 / 446.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.2711, allocations: 28.91 kB / 446.5 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2714, allocations: 61.84 kB / 446.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.273, allocations: 1.343 MB / 447.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2731, allocations: 0.7308 MB / 448.7 MB, free: 31.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.2733, allocations: 31.22 kB / 448.7 MB, free: 31.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.2733, allocations: 65.62 kB / 448.8 MB, free: 31.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2733, allocations: 0 / 448.8 MB, free: 31.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.2876, allocations: 4.26 MB / 453 MB, free: 31.01 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.2878, allocations: 173.9 kB / 453.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.001, allocations: 0 / 453.2 MB, free: 30.77 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001.fmu > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1) Environment - environmentSimulation: