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.001042/0.001042, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009964, allocations: 196 kB / 16.53 MB, free: 6.672 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1694/0.1694, allocations: 22.36 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 380.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2178, allocations: 54.95 MB / 435.9 MB, free: 39.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002557/0.2204, allocations: 1.941 MB / 437.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002991/0.2207, allocations: 148.8 kB / 438 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.2208, allocations: 6.219 kB / 438 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.419e-05/0.2209, allocations: 20.92 kB / 438 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.221, allocations: 48.19 kB / 438 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.2212, allocations: 44.05 kB / 438.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2213, allocations: 175 kB / 438.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.2215, allocations: 84.08 kB / 438.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.2216, allocations: 56.52 kB / 438.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.2217, allocations: 66.84 kB / 438.5 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2217, allocations: 10.84 kB / 438.5 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.612e-05/0.2218, allocations: 12.38 kB / 438.5 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.2218, allocations: 32.95 kB / 438.5 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.2219, allocations: 70.03 kB / 438.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.222, allocations: 155.7 kB / 438.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.222, allocations: 0 / 438.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.222, allocations: 4 kB / 438.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.222, allocations: 0 / 438.7 MB, free: 37.93 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.0004282/0.2224, allocations: 440.4 kB / 439.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2225, allocations: 7.625 kB / 439.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2225, allocations: 41.94 kB / 439.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.2226, allocations: 20.2 kB / 439.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2227, allocations: 220 kB / 439.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2227, allocations: 9.812 kB / 439.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2228, allocations: 17.88 kB / 439.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.2229, allocations: 112.7 kB / 439.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.223, allocations: 7.547 kB / 439.6 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.223, allocations: 6.906 kB / 439.6 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.223, allocations: 6.938 kB / 439.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2231, allocations: 59.86 kB / 439.7 MB, free: 37.1 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.0007011/0.2238, allocations: 0.7724 MB / 440.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2239, allocations: 50.75 kB / 440.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.224, allocations: 28.48 kB / 440.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.224, allocations: 3.984 kB / 440.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.224, allocations: 30.56 kB / 440.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.224, allocations: 2.719 kB / 440.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001877/0.2242, allocations: 75.31 kB / 440.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.2243, allocations: 51.41 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2244, allocations: 194.3 kB / 440.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.2244, allocations: 32.27 kB / 440.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2244, allocations: 126.1 kB / 441 MB, free: 35.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.2245, allocations: 11.75 kB / 441 MB, free: 35.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2245, allocations: 24.41 kB / 441.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2246, allocations: 321.2 kB / 441.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.2246, allocations: 24.38 kB / 441.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.2246, allocations: 25.88 kB / 441.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.2249, allocations: 82.38 kB / 441.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2249, allocations: 0 / 441.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001193/0.2251, allocations: 96.64 kB / 441.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.2251, allocations: 5.125 kB / 441.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2251, allocations: 0 / 441.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2251, allocations: 10.61 kB / 441.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.2252, allocations: 14.19 kB / 441.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2252, allocations: 0 / 441.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.2253, allocations: 6.812 kB / 441.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2253, allocations: 6.656 kB / 441.6 MB, free: 35.35 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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 8.401e-05/0.2254, allocations: 126.6 kB / 441.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.2254, allocations: 13.41 kB / 441.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2255, allocations: 18.44 kB / 441.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2255, allocations: 0 / 441.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2255, allocations: 0 / 441.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2255, allocations: 3.328 kB / 441.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.2256, allocations: 209.6 kB / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2256, allocations: 0 / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.2257, allocations: 11.55 kB / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2257, allocations: 0 / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2257, allocations: 0 / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2257, allocations: 3.938 kB / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2257, allocations: 0 / 442 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2259, allocations: 182.1 kB / 442.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.2259, allocations: 102.9 kB / 442.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.226, allocations: 2.594 kB / 442.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.2261, allocations: 0 / 442.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.2261, allocations: 0 / 442.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.2261, allocations: 2.719 kB / 442.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.2262, allocations: 149.6 kB / 442.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2262, allocations: 4.062 kB / 442.5 MB, free: 34.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000227/0.2264, allocations: 22.28 kB / 442.5 MB, free: 34.61 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.0002779/0.2267, allocations: 0.7071 MB / 443.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.2268, allocations: 40.66 kB / 443.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2268, allocations: 3.938 kB / 443.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.2269, allocations: 19.05 kB / 443.2 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2272, allocations: 29.92 kB / 443.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2284, allocations: 1.797 MB / 445.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2286, allocations: 0.7109 MB / 445.8 MB, free: 31.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.2286, allocations: 18.5 kB / 445.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.2287, allocations: 41.78 kB / 445.8 MB, free: 31.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2287, allocations: 0 / 445.8 MB, free: 31.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.198/2.427, allocations: 2.972 MB / 448.8 MB, free: 31.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/11.24, allocations: 7.688 kB / 448.8 MB, free: 31.26 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)