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.001079/0.001079, allocations: 108 kB / 15.6 MB, free: 132 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.001066/0.001066, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1852/0.1852, allocations: 22.33 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 380.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2195, allocations: 54.94 MB / 435.9 MB, free: 39.76 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.02521/0.2448, allocations: 21.74 MB / 457.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.2453, allocations: 212.9 kB / 457.8 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2454, allocations: 12.06 kB / 457.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.636e-05/0.2455, allocations: 36.66 kB / 457.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.2457, allocations: 94.27 kB / 457.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2458, allocations: 37.89 kB / 458 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.246, allocations: 286.5 kB / 458.3 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.2462, allocations: 130.2 kB / 458.4 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.2464, allocations: 110.4 kB / 458.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2465, allocations: 92.17 kB / 458.6 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.2465, allocations: 13.5 kB / 458.6 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.2466, allocations: 12.94 kB / 458.6 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.2466, allocations: 35.42 kB / 458.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.2467, allocations: 111.3 kB / 458.8 MB, free: 31.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2469, allocations: 215 kB / 459 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2469, allocations: 4 kB / 459 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2469, allocations: 0 / 459 MB, free: 31.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2469, allocations: 1.094 kB / 459 MB, free: 31.3 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.0005518/0.2474, allocations: 0.5033 MB / 459.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2475, allocations: 9.094 kB / 459.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2475, allocations: 46.41 kB / 459.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2476, allocations: 24.69 kB / 459.6 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2478, allocations: 275.2 kB / 459.8 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2478, allocations: 13.62 kB / 459.8 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2479, allocations: 16.16 kB / 459.9 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.2481, allocations: 163.5 kB / 460 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2481, allocations: 9.109 kB / 460 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2481, allocations: 5.062 kB / 460 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2481, allocations: 7.312 kB / 460 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2483, allocations: 93.83 kB / 460.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.2489, allocations: 0.8126 MB / 460.9 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.2491, allocations: 81.84 kB / 461 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.2491, allocations: 37.88 kB / 461.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2491, allocations: 1.344 kB / 461.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.2492, allocations: 30.56 kB / 461.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2492, allocations: 5.25 kB / 461.1 MB, free: 29.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002473/0.2494, allocations: 129.3 kB / 461.2 MB, free: 29.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.2494, allocations: 60.88 kB / 461.3 MB, free: 29.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.2497, allocations: 268 kB / 461.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.2497, allocations: 25.7 kB / 461.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.2497, allocations: 144.9 kB / 461.7 MB, free: 29.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2498, allocations: 31.39 kB / 461.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.2498, allocations: 25.66 kB / 461.8 MB, free: 29.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.2499, allocations: 338.1 kB / 462.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.395e-05/0.2499, allocations: 28.27 kB / 462.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.25, allocations: 48.03 kB / 462.2 MB, free: 28.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.2505, allocations: 159.4 kB / 462.3 MB, free: 28.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2505, allocations: 5.688 kB / 462.3 MB, free: 28.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001829/0.2507, allocations: 137.9 kB / 462.5 MB, free: 28.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2507, allocations: 5.375 kB / 462.5 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2507, allocations: 0 / 462.5 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2507, allocations: 2.656 kB / 462.5 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2509, allocations: 27.64 kB / 462.5 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2509, allocations: 10.25 kB / 462.5 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.251, allocations: 20.25 kB / 462.5 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.251, allocations: 2.469 kB / 462.5 MB, free: 28.45 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.000113/0.2511, allocations: 130.2 kB / 462.7 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.2512, allocations: 27.69 kB / 462.7 MB, free: 28.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.2512, allocations: 30.7 kB / 462.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2512, allocations: 1 kB / 462.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.2512, allocations: 5.312 kB / 462.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2512, allocations: 0 / 462.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2514, allocations: 242.5 kB / 463 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2514, allocations: 0 / 463 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2516, allocations: 23 kB / 463 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2516, allocations: 0 / 463 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2516, allocations: 4.938 kB / 463 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2516, allocations: 4.906 kB / 463 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2516, allocations: 3.938 kB / 463 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2519, allocations: 231.7 kB / 463.2 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.2519, allocations: 105.6 kB / 463.3 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.2519, allocations: 5.094 kB / 463.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2521, allocations: 1.062 kB / 463.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.2521, allocations: 6.312 kB / 463.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.2521, allocations: 6.203 kB / 463.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2522, allocations: 199.7 kB / 463.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2522, allocations: 0 / 463.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2525, allocations: 39.16 kB / 463.6 MB, free: 27.62 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.0003378/0.2528, allocations: 0.7635 MB / 464.3 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.253, allocations: 82.41 kB / 464.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.253, allocations: 0 / 464.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.2531, allocations: 30.28 kB / 464.4 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2534, allocations: 53.09 kB / 464.5 MB, free: 26.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.2554, allocations: 2.308 MB / 466.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2555, allocations: 0.7338 MB / 467.5 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.2556, allocations: 29.66 kB / 467.6 MB, free: 24.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.2557, allocations: 66.2 kB / 467.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2557, allocations: 3.938 kB / 467.6 MB, free: 24.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9236/1.179, allocations: 4.565 MB / 472.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/12.02, allocations: 16.28 kB / 472.2 MB, free: 22.21 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)