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.001117/0.001117, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 197.4 kB / 16.64 MB, free: 6.453 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.37/1.37, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1995/0.1995, allocations: 22.36 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 60.12 kB / 381.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 54.95 MB / 436.1 MB, free: 39.75 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.0281/0.2817, allocations: 21.52 MB / 457.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.2825, allocations: 211.8 kB / 457.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2826, allocations: 12.28 kB / 457.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.252e-05/0.2827, allocations: 27.8 kB / 457.8 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.2829, allocations: 104 kB / 457.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.2831, allocations: 34.48 kB / 458 MB, free: 31.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.2834, allocations: 286.8 kB / 458.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.2837, allocations: 131 kB / 458.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.2839, allocations: 113.8 kB / 458.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.284, allocations: 95.05 kB / 458.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.2841, allocations: 13.91 kB / 458.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.2841, allocations: 13.38 kB / 458.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.2842, allocations: 34.27 kB / 458.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2843, allocations: 107.5 kB / 458.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.2845, allocations: 220.6 kB / 459 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2845, allocations: 0 / 459 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2845, allocations: 4 kB / 459 MB, free: 31.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2846, allocations: 1.188 kB / 459 MB, free: 31.36 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.0006795/0.2852, allocations: 0.4992 MB / 459.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2853, allocations: 9.844 kB / 459.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.2854, allocations: 41.77 kB / 459.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.2854, allocations: 31.83 kB / 459.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2857, allocations: 279.2 kB / 459.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.2857, allocations: 9.906 kB / 459.8 MB, free: 30.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2859, allocations: 16.22 kB / 459.8 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.2861, allocations: 171.6 kB / 460 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2862, allocations: 5.031 kB / 460 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2862, allocations: 5.031 kB / 460 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2862, allocations: 4.062 kB / 460 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.2864, allocations: 91.34 kB / 460.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.2871, allocations: 0.7998 MB / 460.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.2872, allocations: 74.3 kB / 461 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.2873, allocations: 37.89 kB / 461 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2873, allocations: 5.031 kB / 461 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2873, allocations: 35.66 kB / 461.1 MB, free: 29.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/0.2873, allocations: 4 kB / 461.1 MB, free: 29.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002519/0.2876, allocations: 130.8 kB / 461.2 MB, free: 29.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2876, allocations: 56.5 kB / 461.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.2879, allocations: 268 kB / 461.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.2879, allocations: 25.7 kB / 461.5 MB, free: 29.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.2879, allocations: 148.8 kB / 461.7 MB, free: 29.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.288, allocations: 31.52 kB / 461.7 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.288, allocations: 25.28 kB / 461.7 MB, free: 29.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2881, allocations: 338.9 kB / 462.1 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.2882, allocations: 28.28 kB / 462.1 MB, free: 28.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2883, allocations: 50.06 kB / 462.1 MB, free: 28.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.2888, allocations: 156 kB / 462.3 MB, free: 28.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2888, allocations: 0 / 462.3 MB, free: 28.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001946/0.289, allocations: 134.5 kB / 462.4 MB, free: 28.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2891, allocations: 5.25 kB / 462.4 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2891, allocations: 3.938 kB / 462.4 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2891, allocations: 6.219 kB / 462.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2893, allocations: 31.88 kB / 462.5 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2893, allocations: 6.094 kB / 462.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.2894, allocations: 15.03 kB / 462.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2894, allocations: 3.5 kB / 462.5 MB, free: 28.53 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.0001432/0.2896, allocations: 147.3 kB / 462.6 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.2896, allocations: 25.84 kB / 462.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2896, allocations: 23.94 kB / 462.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2897, allocations: 1.094 kB / 462.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2897, allocations: 5.125 kB / 462.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2897, allocations: 4 kB / 462.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.2899, allocations: 246.2 kB / 462.9 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2899, allocations: 0 / 462.9 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.29, allocations: 19 kB / 463 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.29, allocations: 1.219 kB / 463 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.2901, allocations: 1.281 kB / 463 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2901, allocations: 4 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2901, allocations: 7.875 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2903, allocations: 236.1 kB / 463.2 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2904, allocations: 102.4 kB / 463.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.2904, allocations: 1.438 kB / 463.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2906, allocations: 0 / 463.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.2906, allocations: 6.688 kB / 463.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.2907, allocations: 1.5 kB / 463.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.2908, allocations: 201.6 kB / 463.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2908, allocations: 0 / 463.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.2911, allocations: 35.25 kB / 463.5 MB, free: 27.7 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 0.0003908/0.2915, allocations: 0.7639 MB / 464.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.2917, allocations: 77.16 kB / 464.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2917, allocations: 0 / 464.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.2917, allocations: 33.31 kB / 464.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2921, allocations: 58.83 kB / 464.5 MB, free: 26.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2942, allocations: 2.307 MB / 466.8 MB, free: 25.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2944, allocations: 0.7291 MB / 467.5 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.752e-05/0.2945, allocations: 30.56 kB / 467.5 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.2946, allocations: 63 kB / 467.6 MB, free: 24.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2946, allocations: 0 / 467.6 MB, free: 24.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.3159, allocations: 4.589 MB / 472.2 MB, free: 22.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.203, allocations: 17.48 kB / 472.2 MB, free: 22.19 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/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)