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.001024/0.001024, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001004/0.001004, allocations: 193 kB / 16.13 MB, free: 6.648 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.17/0.17, allocations: 22.35 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.91 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2033, allocations: 54.94 MB / 435.2 MB, free: 39.46 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.02104/0.2244, allocations: 21.85 MB / 457 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000435/0.2248, allocations: 245.1 kB / 457.2 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.2249, allocations: 13.16 kB / 457.3 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.776e-05/0.225, allocations: 26.64 kB / 457.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.2251, allocations: 85.41 kB / 457.4 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.335e-05/0.2252, allocations: 30.06 kB / 457.4 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.2254, allocations: 272.4 kB / 457.7 MB, free: 31.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.2256, allocations: 115.4 kB / 457.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2257, allocations: 118.6 kB / 457.9 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.2258, allocations: 87.05 kB / 458 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.2258, allocations: 9.281 kB / 458 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.341e-05/0.2259, allocations: 9.562 kB / 458 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.2259, allocations: 34.94 kB / 458 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/0.226, allocations: 107.9 kB / 458.1 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2261, allocations: 209.8 kB / 458.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2261, allocations: 5.219 kB / 458.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.2261, allocations: 0 / 458.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.2261, allocations: 0 / 458.3 MB, free: 30.88 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.0004682/0.2266, allocations: 0.5038 MB / 458.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.2266, allocations: 9.156 kB / 458.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.2267, allocations: 46.38 kB / 458.9 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.2267, allocations: 28.56 kB / 458.9 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2269, allocations: 278.4 kB / 459.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2269, allocations: 9.875 kB / 459.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.2269, allocations: 17 kB / 459.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.2271, allocations: 163.2 kB / 459.4 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2272, allocations: 0 / 459.4 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2272, allocations: 6.219 kB / 459.4 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2272, allocations: 7.375 kB / 459.4 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.2273, allocations: 93.72 kB / 459.5 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.2279, allocations: 0.7991 MB / 460.3 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.228, allocations: 77.23 kB / 460.4 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.2281, allocations: 41.45 kB / 460.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.2281, allocations: 1.188 kB / 460.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.2281, allocations: 35.88 kB / 460.4 MB, free: 29.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.2281, allocations: 0 / 460.4 MB, free: 29.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002137/0.2283, allocations: 131.6 kB / 460.6 MB, free: 29.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.2283, allocations: 59.91 kB / 460.6 MB, free: 28.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.2285, allocations: 271.1 kB / 460.9 MB, free: 28.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.2285, allocations: 26.77 kB / 460.9 MB, free: 28.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.2286, allocations: 141.5 kB / 461.1 MB, free: 28.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.2286, allocations: 33.86 kB / 461.1 MB, free: 28.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2286, allocations: 25.94 kB / 461.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.2287, allocations: 338.1 kB / 461.5 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.2287, allocations: 26.19 kB / 461.5 MB, free: 28.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.2288, allocations: 50.08 kB / 461.5 MB, free: 28.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.2292, allocations: 159.8 kB / 461.7 MB, free: 28.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2292, allocations: 0 / 461.7 MB, free: 28.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001633/0.2294, allocations: 134.4 kB / 461.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.2294, allocations: 6.688 kB / 461.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2294, allocations: 0 / 461.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.2294, allocations: 5.469 kB / 461.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2296, allocations: 28.09 kB / 461.9 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.2296, allocations: 5.25 kB / 461.9 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.2297, allocations: 16.22 kB / 461.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2297, allocations: 8.094 kB / 461.9 MB, free: 28.05 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.0001029/0.2298, allocations: 141.8 kB / 462 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.2298, allocations: 26.56 kB / 462 MB, free: 27.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.2299, allocations: 28.05 kB / 462.1 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2299, allocations: 1.094 kB / 462.1 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2299, allocations: 3.938 kB / 462.1 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.2299, allocations: 0 / 462.1 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.23, allocations: 239.2 kB / 462.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.23, allocations: 0 / 462.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2302, allocations: 27.62 kB / 462.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2302, allocations: 0 / 462.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2302, allocations: 1.094 kB / 462.3 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2302, allocations: 5.156 kB / 462.3 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2302, allocations: 3.938 kB / 462.3 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.2304, allocations: 235.8 kB / 462.6 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.2304, allocations: 94.2 kB / 462.7 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.2305, allocations: 0.75 kB / 462.7 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.2306, allocations: 12.75 kB / 462.7 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.2306, allocations: 6.562 kB / 462.7 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2306, allocations: 9.156 kB / 462.7 MB, free: 27.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.2307, allocations: 196.8 kB / 462.9 MB, free: 27.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2307, allocations: 0 / 462.9 MB, free: 27.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.231, allocations: 38.88 kB / 462.9 MB, free: 27.21 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.0003016/0.2313, allocations: 0.7615 MB / 463.7 MB, free: 26.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2314, allocations: 82.03 kB / 463.8 MB, free: 26.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2314, allocations: 0 / 463.8 MB, free: 26.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.2315, allocations: 40.83 kB / 463.8 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2318, allocations: 51.45 kB / 463.9 MB, free: 26.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2335, allocations: 2.347 MB / 466.2 MB, free: 24.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2336, allocations: 0.7364 MB / 466.9 MB, free: 24.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.2337, allocations: 30.39 kB / 467 MB, free: 24.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.2338, allocations: 65.83 kB / 467 MB, free: 23.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2338, allocations: 0 / 467 MB, free: 23.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.538/1.772, allocations: 4.332 MB / 471.4 MB, free: 22.37 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.772, allocations: 186.3 kB / 471.6 MB, free: 22.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/3.359, allocations: 0 / 471.6 MB, free: 22.11 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)