Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_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.001209/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001202/0.001202, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.228/1.228, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1744/0.1744, allocations: 22.34 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 380.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2174, allocations: 54.94 MB / 435.3 MB, free: 39.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002544/0.2199, allocations: 2.303 MB / 437.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.2203, allocations: 204.4 kB / 437.8 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.2203, allocations: 5.062 kB / 437.8 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.2204, allocations: 18.44 kB / 437.9 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2205, allocations: 62.05 kB / 437.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.2207, allocations: 40.44 kB / 438 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.2208, allocations: 209.4 kB / 438.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.221, allocations: 102.9 kB / 438.3 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.2211, allocations: 85.62 kB / 438.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.2212, allocations: 79.64 kB / 438.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2212, allocations: 15.12 kB / 438.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.2212, allocations: 15.44 kB / 438.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2213, allocations: 37.31 kB / 438.5 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.2213, allocations: 100.7 kB / 438.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2215, allocations: 200.6 kB / 438.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2215, allocations: 0 / 438.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2215, allocations: 0 / 438.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2215, allocations: 0 / 438.8 MB, free: 37.39 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004047/0.2219, allocations: 478.1 kB / 439.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2219, allocations: 11.41 kB / 439.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.222, allocations: 45.28 kB / 439.3 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.222, allocations: 17.69 kB / 439.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2222, allocations: 240.5 kB / 439.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2222, allocations: 11.72 kB / 439.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2222, allocations: 12.22 kB / 439.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2224, allocations: 127.7 kB / 439.7 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2224, allocations: 3.938 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2224, allocations: 4 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2224, allocations: 3.219 kB / 439.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.2226, allocations: 78.19 kB / 439.8 MB, free: 36.54 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.2232, allocations: 0.6648 MB / 440.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.2233, allocations: 51.56 kB / 440.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.2234, allocations: 21.17 kB / 440.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.2234, allocations: 3.188 kB / 440.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.2234, allocations: 37.19 kB / 440.6 MB, free: 35.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2234, allocations: 0 / 440.6 MB, free: 35.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001812/0.2236, allocations: 80.5 kB / 440.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.2236, allocations: 58.03 kB / 440.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2238, allocations: 225 kB / 440.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2238, allocations: 29.7 kB / 441 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.2238, allocations: 141.3 kB / 441.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.2239, allocations: 30.17 kB / 441.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.2239, allocations: 23.16 kB / 441.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.2239, allocations: 335 kB / 441.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.224, allocations: 15.94 kB / 441.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.224, allocations: 43.86 kB / 441.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.2243, allocations: 103.6 kB / 441.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2243, allocations: 0 / 441.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001421/0.2244, allocations: 112.1 kB / 441.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.2244, allocations: 3.5 kB / 441.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.2244, allocations: 6.75 kB / 441.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.2244, allocations: 0 / 441.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2247, allocations: 40.48 kB / 441.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2247, allocations: 2.5 kB / 441.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.2248, allocations: 17.28 kB / 441.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2248, allocations: 7.125 kB / 441.8 MB, free: 34.88 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.585e-05/0.2249, allocations: 134.1 kB / 441.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.2249, allocations: 13.41 kB / 442 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.225, allocations: 22.27 kB / 442 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.225, allocations: 240 / 442 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.225, allocations: 0 / 442 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.225, allocations: 3.938 kB / 442 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.2254, allocations: 413.2 kB / 442.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2254, allocations: 2.688 kB / 442.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.2254, allocations: 11.94 kB / 442.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2255, allocations: 0 / 442.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2255, allocations: 10.62 kB / 442.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2255, allocations: 0 / 442.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2255, allocations: 2.938 kB / 442.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2256, allocations: 200.8 kB / 442.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.2257, allocations: 91.02 kB / 442.7 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.2257, allocations: 6.875 kB / 442.7 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.2258, allocations: 192 / 442.7 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.2258, allocations: 6.297 kB / 442.7 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2258, allocations: 10.81 kB / 442.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.857e-05/0.2259, allocations: 165.7 kB / 442.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2259, allocations: 4.062 kB / 442.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.2262, allocations: 33.41 kB / 442.9 MB, free: 33.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0002596/0.2264, allocations: 0.7297 MB / 443.7 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.2266, allocations: 53.12 kB / 443.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.2266, allocations: 0 / 443.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.2266, allocations: 16.12 kB / 443.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2269, allocations: 39.53 kB / 443.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2285, allocations: 2.032 MB / 445.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2286, allocations: 0.719 MB / 446.5 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.2287, allocations: 23.55 kB / 446.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.2287, allocations: 48.42 kB / 446.6 MB, free: 30.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2287, allocations: 2.906 kB / 446.6 MB, free: 30.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.2411, allocations: 3.233 MB / 449.8 MB, free: 30.5 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/0.2413, allocations: 165.6 kB / 450 MB, free: 30.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.243, allocations: 3.938 kB / 450 MB, free: 30.24 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)