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.001076/0.001076, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008678/0.008678, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1953/0.1953, allocations: 22.35 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12.28 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 55.98 MB / 438.7 MB, free: 39.33 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.01995/0.2541, allocations: 21.47 MB / 460.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005283/0.2546, allocations: 250.3 kB / 460.4 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2547, allocations: 11.75 kB / 460.4 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.875e-05/0.2548, allocations: 21.16 kB / 460.4 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.255, allocations: 90.02 kB / 460.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.2551, allocations: 33.25 kB / 460.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2553, allocations: 272.6 kB / 460.8 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.2555, allocations: 116.5 kB / 460.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2557, allocations: 110 kB / 461 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2558, allocations: 90.8 kB / 461.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.2558, allocations: 7.312 kB / 461.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.2559, allocations: 8.719 kB / 461.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.2559, allocations: 27.95 kB / 461.2 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.256, allocations: 124.1 kB / 461.3 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.2562, allocations: 213.5 kB / 461.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2562, allocations: 0 / 461.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2562, allocations: 1.062 kB / 461.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2562, allocations: 0 / 461.5 MB, free: 30.95 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.0005096/0.2567, allocations: 493.6 kB / 462 MB, free: 30.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2568, allocations: 9.156 kB / 462 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.2568, allocations: 50.91 kB / 462 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.2569, allocations: 23.91 kB / 462.1 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2571, allocations: 265.8 kB / 462.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2571, allocations: 12.72 kB / 462.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2571, allocations: 21.09 kB / 462.4 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.2574, allocations: 162.2 kB / 462.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2574, allocations: 5.047 kB / 462.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2574, allocations: 5.156 kB / 462.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2574, allocations: 4.469 kB / 462.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2576, allocations: 97.69 kB / 462.6 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.2582, allocations: 0.8026 MB / 463.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2584, allocations: 78.31 kB / 463.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.2585, allocations: 37.16 kB / 463.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.2585, allocations: 0.9688 kB / 463.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.2585, allocations: 35.62 kB / 463.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2585, allocations: 0 / 463.6 MB, free: 29.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002497/0.2587, allocations: 119 kB / 463.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.2588, allocations: 60.53 kB / 463.7 MB, free: 29.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.259, allocations: 271.6 kB / 464 MB, free: 28.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.259, allocations: 30.55 kB / 464 MB, free: 28.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.2591, allocations: 141.3 kB / 464.2 MB, free: 28.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2591, allocations: 34.86 kB / 464.2 MB, free: 28.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2591, allocations: 20.95 kB / 464.2 MB, free: 28.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.2592, allocations: 334.7 kB / 464.6 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.2593, allocations: 24.38 kB / 464.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.2593, allocations: 54.86 kB / 464.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.2598, allocations: 167.5 kB / 464.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2598, allocations: 3.188 kB / 464.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001957/0.26, allocations: 135.1 kB / 464.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2601, allocations: 4.812 kB / 464.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2601, allocations: 1.562 kB / 464.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.2601, allocations: 1.344 kB / 464.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2603, allocations: 24.61 kB / 465 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2603, allocations: 5.438 kB / 465 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.2604, allocations: 23.5 kB / 465 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2604, allocations: 3.344 kB / 465 MB, free: 28.14 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.0001274/0.2605, allocations: 146.1 kB / 465.1 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.2606, allocations: 22.56 kB / 465.2 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.2606, allocations: 24.31 kB / 465.2 MB, free: 27.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2606, allocations: 4.844 kB / 465.2 MB, free: 27.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2606, allocations: 7.875 kB / 465.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2606, allocations: 1.062 kB / 465.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.2608, allocations: 237.7 kB / 465.4 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2608, allocations: 0 / 465.4 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.261, allocations: 19.31 kB / 465.5 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.261, allocations: 1.375 kB / 465.5 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.261, allocations: 5.188 kB / 465.5 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.261, allocations: 0 / 465.5 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.261, allocations: 8.891 kB / 465.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.2613, allocations: 243.8 kB / 465.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.2613, allocations: 93.3 kB / 465.8 MB, free: 27.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.2614, allocations: 5.125 kB / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2615, allocations: 4.234 kB / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2615, allocations: 7.219 kB / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.2615, allocations: 1.062 kB / 465.8 MB, free: 27.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.2617, allocations: 197.8 kB / 466 MB, free: 27.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2617, allocations: 0 / 466 MB, free: 27.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.2619, allocations: 38.88 kB / 466 MB, free: 27.31 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.0003608/0.2623, allocations: 0.7626 MB / 466.8 MB, free: 26.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.2625, allocations: 76.45 kB / 466.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2625, allocations: 5.375 kB / 466.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.136e-05/0.2625, allocations: 33.39 kB / 466.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.2629, allocations: 46.67 kB / 467 MB, free: 26.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.265, allocations: 2.419 MB / 469.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2651, allocations: 0.7327 MB / 470.1 MB, free: 24.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.2652, allocations: 27.16 kB / 470.1 MB, free: 24.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.2653, allocations: 65.55 kB / 470.2 MB, free: 24.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2653, allocations: 1.281 kB / 470.2 MB, free: 24.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.303/0.5683, allocations: 4.271 MB / 474.5 MB, free: 22.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.5685, allocations: 187 kB / 474.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.404, allocations: 4 kB / 474.7 MB, free: 21.76 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)