Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",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.001254/0.001254, 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.001252/0.001252, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1665/0.1665, allocations: 22.36 MB / 312.3 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 380.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2038, allocations: 54.94 MB / 435.2 MB, free: 39.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002419/0.2063, allocations: 2.121 MB / 437.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.2066, allocations: 170.7 kB / 437.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.2067, allocations: 1.844 kB / 437.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.2067, allocations: 13.97 kB / 437.5 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2069, allocations: 47.56 kB / 437.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.207, allocations: 28.78 kB / 437.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.2071, allocations: 161.7 kB / 437.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2073, allocations: 86.31 kB / 437.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.2074, allocations: 57.12 kB / 437.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.2075, allocations: 66.55 kB / 437.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.2075, allocations: 6.125 kB / 437.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.668e-05/0.2075, allocations: 8.531 kB / 437.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.2075, allocations: 33.19 kB / 437.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.2076, allocations: 72.16 kB / 438 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2077, allocations: 145.7 kB / 438.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2077, allocations: 0 / 438.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.2077, allocations: 0 / 438.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2077, allocations: 0 / 438.2 MB, free: 37.46 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004016/0.2081, allocations: 443.5 kB / 438.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2082, allocations: 15.84 kB / 438.6 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.2082, allocations: 44.98 kB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2083, allocations: 17.75 kB / 438.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2084, allocations: 216 kB / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2084, allocations: 9.625 kB / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2084, allocations: 18.08 kB / 438.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2086, allocations: 120.4 kB / 439 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2086, allocations: 7.938 kB / 439 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2087, allocations: 4 kB / 439 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2087, allocations: 2.469 kB / 439 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2088, allocations: 64.19 kB / 439.1 MB, free: 36.62 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.2094, allocations: 0.7764 MB / 439.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2096, allocations: 45.23 kB / 439.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.2096, allocations: 27.77 kB / 439.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2096, allocations: 3.312 kB / 439.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.678e-06/0.2096, allocations: 34.56 kB / 440 MB, free: 35.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2097, allocations: 0 / 440 MB, free: 35.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001797/0.2098, allocations: 76.38 kB / 440.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.516e-05/0.2099, allocations: 51.41 kB / 440.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.21, allocations: 193.2 kB / 440.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.21, allocations: 29.7 kB / 440.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.21, allocations: 123.4 kB / 440.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.2101, allocations: 15.69 kB / 440.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.2101, allocations: 23.44 kB / 440.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.2101, allocations: 321 kB / 440.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.2102, allocations: 24.56 kB / 440.8 MB, free: 35.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.2102, allocations: 25.19 kB / 440.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.2105, allocations: 82.44 kB / 440.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2105, allocations: 0 / 440.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001181/0.2106, allocations: 96.75 kB / 441 MB, free: 34.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2106, allocations: 5.25 kB / 441 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2107, allocations: 3.031 kB / 441 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2107, allocations: 0 / 441 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.2108, allocations: 11 kB / 441 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2108, allocations: 7.219 kB / 441 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.2108, allocations: 6.625 kB / 441.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.2109, allocations: 11.41 kB / 441.1 MB, free: 34.89 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * 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 9.693e-05/0.211, allocations: 128.6 kB / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.211, allocations: 15.78 kB / 441.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.211, allocations: 14.94 kB / 441.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.211, allocations: 0 / 441.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.211, allocations: 2.844 kB / 441.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2111, allocations: 0 / 441.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2112, allocations: 215.8 kB / 441.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2112, allocations: 0 / 441.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.2113, allocations: 14.62 kB / 441.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2113, allocations: 0 / 441.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2113, allocations: 2.562 kB / 441.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2113, allocations: 0 / 441.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2113, allocations: 192 / 441.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2115, allocations: 186.3 kB / 441.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.2115, allocations: 99.02 kB / 441.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.2115, allocations: 4.062 kB / 441.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.2116, allocations: 6.781 kB / 441.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.2117, allocations: 0 / 441.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.2117, allocations: 2.812 kB / 441.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.2118, allocations: 147.7 kB / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2118, allocations: 3.656 kB / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.212, allocations: 20.16 kB / 441.9 MB, free: 34.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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.0002629/0.2123, allocations: 0.7127 MB / 442.6 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2124, allocations: 33.78 kB / 442.7 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2124, allocations: 0 / 442.7 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.2124, allocations: 15.86 kB / 442.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.2127, allocations: 30.25 kB / 442.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2139, allocations: 1.825 MB / 444.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.06e-05/0.214, allocations: 0.7072 MB / 445.2 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.2141, allocations: 17.34 kB / 445.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.2142, allocations: 44.56 kB / 445.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2142, allocations: 0 / 445.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8983/1.112, allocations: 2.781 MB / 448.1 MB, free: 30.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/1.113, allocations: 173.3 kB / 448.2 MB, free: 30.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.815, allocations: 0 / 448.2 MB, free: 30.66 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_002_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)