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: 99.39 kB / 15.05 MB, free: 1.105 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.001059/0.001059, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2772/0.2772, allocations: 22.35 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004165, allocations: 8 kB / 381.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3389, allocations: 55.97 MB / 437.9 MB, free: 39.29 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.002235/0.3412, allocations: 1.876 MB / 439.8 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000395/0.3416, allocations: 267.8 kB / 440 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3418, allocations: 11.38 kB / 440 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.3418, allocations: 28.11 kB / 440.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.342, allocations: 120 kB / 440.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.3422, allocations: 29.27 kB / 440.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3424, allocations: 201.7 kB / 440.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.3426, allocations: 109.4 kB / 440.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3428, allocations: 131.7 kB / 440.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3429, allocations: 87.73 kB / 440.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3429, allocations: 8.906 kB / 440.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.841e-05/0.343, allocations: 8.625 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.343, allocations: 30.22 kB / 440.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.343, allocations: 66.14 kB / 440.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3432, allocations: 150.8 kB / 441 MB, free: 37.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3432, allocations: 0 / 441 MB, free: 37.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3432, allocations: 0 / 441 MB, free: 37.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3432, allocations: 0 / 441 MB, free: 37.24 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.0005851/0.3438, allocations: 492.9 kB / 441.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3439, allocations: 8.5 kB / 441.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.3439, allocations: 46.69 kB / 441.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.344, allocations: 24.81 kB / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.3442, allocations: 264.7 kB / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3443, allocations: 13.19 kB / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3443, allocations: 12.94 kB / 441.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.3445, allocations: 167.8 kB / 442 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3446, allocations: 10.52 kB / 442 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3446, allocations: 4 kB / 442 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3446, allocations: 3.5 kB / 442 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3448, allocations: 95.27 kB / 442.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.3455, allocations: 0.8044 MB / 442.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3456, allocations: 78.22 kB / 443 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.3456, allocations: 0 / 443 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3457, allocations: 34.52 kB / 443 MB, free: 35.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.3457, allocations: 2.875 kB / 443 MB, free: 35.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002536/0.3459, allocations: 129.3 kB / 443.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.346, allocations: 51.41 kB / 443.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3462, allocations: 270 kB / 443.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3462, allocations: 25.7 kB / 443.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3463, allocations: 145.6 kB / 443.6 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3463, allocations: 29.66 kB / 443.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.3463, allocations: 2.906 kB / 443.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.3464, allocations: 336.3 kB / 444 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.3465, allocations: 25.17 kB / 444 MB, free: 34.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.3465, allocations: 54.3 kB / 444.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.3466, allocations: 37.75 kB / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3466, allocations: 0 / 444.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001716/0.3468, allocations: 135.2 kB / 444.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3468, allocations: 9.766 kB / 444.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3468, allocations: 0 / 444.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3468, allocations: 0 / 444.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.347, allocations: 32.8 kB / 444.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.347, allocations: 4.281 kB / 444.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.3471, allocations: 21.94 kB / 444.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3471, allocations: 2.812 kB / 444.3 MB, free: 34.54 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.3473, allocations: 130.2 kB / 444.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.3473, allocations: 26.78 kB / 444.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.3474, allocations: 29.44 kB / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3474, allocations: 4 kB / 444.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3474, allocations: 7.172 kB / 444.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3474, allocations: 0 / 444.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3476, allocations: 245.6 kB / 444.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3476, allocations: 0 / 444.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.3477, allocations: 23.64 kB / 444.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3478, allocations: 0 / 444.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3478, allocations: 2.344 kB / 444.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3478, allocations: 7.891 kB / 444.8 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3478, allocations: 0 / 444.8 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.348, allocations: 236.7 kB / 445 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.3481, allocations: 98.7 kB / 445.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3481, allocations: 0 / 445.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3482, allocations: 7.375 kB / 445.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.3482, allocations: 6.266 kB / 445.1 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3482, allocations: 3.219 kB / 445.1 MB, free: 33.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3484, allocations: 194.4 kB / 445.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3484, allocations: 0 / 445.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.3486, allocations: 40.09 kB / 445.4 MB, free: 33.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.349, allocations: 0.7578 MB / 446.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.3491, allocations: 82.41 kB / 446.2 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3492, allocations: 0 / 446.2 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.3492, allocations: 33.94 kB / 446.2 MB, free: 32.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3495, allocations: 57.61 kB / 446.3 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3511, allocations: 1.633 MB / 447.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3512, allocations: 0.7401 MB / 448.7 MB, free: 31.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3513, allocations: 29.14 kB / 448.7 MB, free: 31.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.3514, allocations: 62.25 kB / 448.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3514, allocations: 3.031 kB / 448.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.3653, allocations: 4.251 MB / 453 MB, free: 30.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.3655, allocations: 174.4 kB / 453.2 MB, free: 30.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.092, allocations: 2.625 kB / 453.2 MB, free: 30.59 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/linux/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) Environment - environmentSimulation: