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.001184/0.001184, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001136/0.001136, allocations: 193.6 kB / 16.25 MB, free: 6.633 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.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1681/0.1681, allocations: 22.35 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 59.91 kB / 380.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2198, allocations: 54.94 MB / 435.4 MB, free: 39.71 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.02341/0.2433, allocations: 21.95 MB / 457.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004689/0.2438, allocations: 251.1 kB / 457.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2439, allocations: 12.06 kB / 457.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.159e-05/0.244, allocations: 20.42 kB / 457.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.2441, allocations: 93.05 kB / 457.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.2443, allocations: 30.88 kB / 457.7 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2444, allocations: 284.9 kB / 458 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2446, allocations: 127.3 kB / 458.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2448, allocations: 119.2 kB / 458.2 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2449, allocations: 94.67 kB / 458.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.2449, allocations: 17.47 kB / 458.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.25e-05/0.2449, allocations: 13.03 kB / 458.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.245, allocations: 35.11 kB / 458.4 MB, free: 31.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.245, allocations: 104.5 kB / 458.5 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.2452, allocations: 221.3 kB / 458.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2452, allocations: 4 kB / 458.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2452, allocations: 0 / 458.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2452, allocations: 0 / 458.7 MB, free: 31.07 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.0005001/0.2457, allocations: 0.503 MB / 459.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2458, allocations: 10.47 kB / 459.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.2458, allocations: 46 kB / 459.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.2459, allocations: 27.38 kB / 459.3 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2461, allocations: 268.8 kB / 459.5 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2461, allocations: 10.19 kB / 459.6 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2461, allocations: 20.44 kB / 459.6 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.2463, allocations: 167 kB / 459.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2463, allocations: 0 / 459.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2463, allocations: 4.969 kB / 459.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2464, allocations: 8.438 kB / 459.7 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2465, allocations: 89.31 kB / 459.8 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.2471, allocations: 0.8099 MB / 460.6 MB, free: 29.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.2472, allocations: 74.06 kB / 460.7 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.2473, allocations: 38.64 kB / 460.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2473, allocations: 0 / 460.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.2473, allocations: 36.69 kB / 460.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.2473, allocations: 0 / 460.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002248/0.2475, allocations: 130.7 kB / 460.9 MB, free: 29.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.855e-05/0.2476, allocations: 56.78 kB / 461 MB, free: 29.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2478, allocations: 267.8 kB / 461.2 MB, free: 29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.2478, allocations: 26.8 kB / 461.3 MB, free: 28.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.2478, allocations: 141 kB / 461.4 MB, free: 28.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2479, allocations: 30.69 kB / 461.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.2479, allocations: 30.12 kB / 461.5 MB, free: 28.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.2479, allocations: 335.2 kB / 461.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.248, allocations: 25.09 kB / 461.8 MB, free: 28.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.2481, allocations: 50.34 kB / 461.9 MB, free: 28.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.2485, allocations: 165.5 kB / 462 MB, free: 28.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2485, allocations: 0 / 462 MB, free: 28.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001696/0.2487, allocations: 134.9 kB / 462.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2487, allocations: 8.641 kB / 462.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2487, allocations: 0 / 462.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2487, allocations: 6.156 kB / 462.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2489, allocations: 28.16 kB / 462.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2489, allocations: 5.656 kB / 462.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.249, allocations: 23.78 kB / 462.2 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.249, allocations: 2.844 kB / 462.2 MB, free: 28.24 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.0001105/0.2491, allocations: 156 kB / 462.4 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.2491, allocations: 25.16 kB / 462.4 MB, free: 28.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.2492, allocations: 28.02 kB / 462.4 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2492, allocations: 5.125 kB / 462.4 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2492, allocations: 3.938 kB / 462.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2492, allocations: 1.188 kB / 462.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2494, allocations: 241.7 kB / 462.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2494, allocations: 0 / 462.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.2495, allocations: 19.64 kB / 462.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2495, allocations: 1.656 kB / 462.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2496, allocations: 4 kB / 462.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2496, allocations: 1.406 kB / 462.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2496, allocations: 3.938 kB / 462.7 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.2498, allocations: 235.3 kB / 462.9 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2498, allocations: 95.08 kB / 463 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2499, allocations: 7.281 kB / 463 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.25, allocations: 1.562 kB / 463 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.25, allocations: 6.219 kB / 463 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.25, allocations: 5.125 kB / 463 MB, free: 27.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2501, allocations: 193.7 kB / 463.2 MB, free: 27.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2501, allocations: 0 / 463.2 MB, free: 27.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.2504, allocations: 42.88 kB / 463.3 MB, free: 27.41 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.0003235/0.2507, allocations: 0.76 MB / 464 MB, free: 26.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.2509, allocations: 85.44 kB / 464.1 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2509, allocations: 3.938 kB / 464.1 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.2509, allocations: 29.52 kB / 464.2 MB, free: 26.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2512, allocations: 54.48 kB / 464.2 MB, free: 26.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.2531, allocations: 2.361 MB / 466.6 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2532, allocations: 0.7331 MB / 467.3 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.2533, allocations: 25.5 kB / 467.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.2534, allocations: 65.78 kB / 467.4 MB, free: 24.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2534, allocations: 0 / 467.4 MB, free: 24.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.973/2.227, allocations: 4.465 MB / 471.9 MB, free: 22.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/2.227, allocations: 191.8 kB / 472 MB, free: 21.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/4.921, allocations: 0 / 472 MB, free: 21.94 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)