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.001288/0.001288, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001347/0.001347, allocations: 196.4 kB / 16.26 MB, free: 6.629 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1787/0.1787, allocations: 22.35 MB / 312.4 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 380.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2123, allocations: 54.94 MB / 435.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002232/0.2146, allocations: 2.125 MB / 437.5 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.2148, allocations: 173.9 kB / 437.6 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.2149, allocations: 0 / 437.6 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/0.2149, allocations: 21.83 kB / 437.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2151, allocations: 43.31 kB / 437.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.2152, allocations: 26.94 kB / 437.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.2153, allocations: 170.2 kB / 437.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2154, allocations: 95.22 kB / 438 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.2155, allocations: 60.02 kB / 438 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.2156, allocations: 63.23 kB / 438.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2156, allocations: 11.69 kB / 438.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.2157, allocations: 11.97 kB / 438.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.2157, allocations: 33.69 kB / 438.2 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.2157, allocations: 73.02 kB / 438.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.2159, allocations: 157.2 kB / 438.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2159, allocations: 0 / 438.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2159, allocations: 0 / 438.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2159, allocations: 0 / 438.4 MB, free: 37.54 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.0003734/0.2163, allocations: 438.7 kB / 438.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.2163, allocations: 10.97 kB / 438.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.2163, allocations: 40.75 kB / 438.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.2164, allocations: 21.38 kB / 438.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2165, allocations: 216.3 kB / 439.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2165, allocations: 11.88 kB / 439.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2165, allocations: 15.59 kB / 439.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2167, allocations: 119.2 kB / 439.2 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.2167, allocations: 3.938 kB / 439.2 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2167, allocations: 7.438 kB / 439.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2167, allocations: 0 / 439.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.2169, allocations: 64.73 kB / 439.3 MB, free: 36.72 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.0006214/0.2175, allocations: 0.7743 MB / 440.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2176, allocations: 49.91 kB / 440.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.2176, allocations: 20.61 kB / 440.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.2177, allocations: 0 / 440.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2177, allocations: 40.36 kB / 440.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2177, allocations: 0 / 440.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001644/0.2178, allocations: 76.08 kB / 440.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.2179, allocations: 55.41 kB / 440.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.218, allocations: 198.8 kB / 440.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.218, allocations: 28.48 kB / 440.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.218, allocations: 124.2 kB / 440.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.2181, allocations: 14.69 kB / 440.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2181, allocations: 19.5 kB / 440.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.2181, allocations: 328.3 kB / 441 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.2182, allocations: 9.875 kB / 441 MB, free: 35.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.2182, allocations: 30.05 kB / 441.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.2185, allocations: 81.44 kB / 441.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2185, allocations: 0 / 441.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001126/0.2186, allocations: 93.61 kB / 441.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.2186, allocations: 9.5 kB / 441.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2186, allocations: 0 / 441.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.2186, allocations: 2.875 kB / 441.3 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.2187, allocations: 11.95 kB / 441.3 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2187, allocations: 3.875 kB / 441.3 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.2188, allocations: 3.906 kB / 441.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2188, allocations: 11.88 kB / 441.3 MB, free: 34.98 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.084e-05/0.2189, allocations: 136 kB / 441.4 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.219, allocations: 13.66 kB / 441.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.219, allocations: 14.98 kB / 441.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.219, allocations: 3.938 kB / 441.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.219, allocations: 7.344 kB / 441.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.219, allocations: 0 / 441.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2191, allocations: 210.8 kB / 441.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2191, allocations: 0 / 441.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.2192, allocations: 8.594 kB / 441.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2192, allocations: 0 / 441.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2193, allocations: 7.281 kB / 441.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2193, allocations: 7.984 kB / 441.7 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2193, allocations: 0 / 441.7 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2194, allocations: 181.8 kB / 441.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.2195, allocations: 94.2 kB / 442 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.2195, allocations: 0 / 442 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.2196, allocations: 3.188 kB / 442 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.2196, allocations: 3.125 kB / 442 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2196, allocations: 4.062 kB / 442 MB, free: 34.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.2197, allocations: 153.7 kB / 442.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2197, allocations: 0 / 442.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000219/0.2199, allocations: 22.5 kB / 442.1 MB, free: 34.23 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.0002498/0.2202, allocations: 0.7065 MB / 442.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.2203, allocations: 46.19 kB / 442.9 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2203, allocations: 0 / 442.9 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.2203, allocations: 11.72 kB / 442.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.2206, allocations: 23.23 kB / 442.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2218, allocations: 1.842 MB / 444.8 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.2219, allocations: 0.7112 MB / 445.5 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.2219, allocations: 13.38 kB / 445.5 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.222, allocations: 44.12 kB / 445.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.222, allocations: 0 / 445.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/2.769, allocations: 2.867 MB / 448.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/2.769, allocations: 173.8 kB / 448.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/4.516, allocations: 0 / 448.6 MB, free: 30.73 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)