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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001198/0.001198, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1802/0.1802, allocations: 22.35 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 380.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2031, allocations: 54.95 MB / 435.2 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002302/0.2054, allocations: 2.299 MB / 437.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.2057, allocations: 197.9 kB / 437.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.2058, allocations: 2.656 kB / 437.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.2058, allocations: 18.48 kB / 437.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2059, allocations: 58.22 kB / 437.7 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.2061, allocations: 37.69 kB / 437.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2062, allocations: 209.9 kB / 438 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2063, allocations: 99.53 kB / 438.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.2064, allocations: 75.69 kB / 438.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.2065, allocations: 83.58 kB / 438.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.2065, allocations: 10.56 kB / 438.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.442e-05/0.2066, allocations: 14.84 kB / 438.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.2066, allocations: 35.55 kB / 438.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.2067, allocations: 82.77 kB / 438.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.2068, allocations: 193.1 kB / 438.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2068, allocations: 0 / 438.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.2068, allocations: 6.781 kB / 438.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.2068, allocations: 0 / 438.6 MB, free: 37.26 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.0003905/0.2072, allocations: 479 kB / 439 MB, free: 36.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.2073, allocations: 14.31 kB / 439 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.2073, allocations: 44.67 kB / 439.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.2073, allocations: 18.91 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2075, allocations: 236.3 kB / 439.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2075, allocations: 9.5 kB / 439.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2075, allocations: 12.84 kB / 439.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2077, allocations: 136.7 kB / 439.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2077, allocations: 3.938 kB / 439.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2077, allocations: 7.75 kB / 439.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2077, allocations: 3.062 kB / 439.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2079, allocations: 72.11 kB / 439.6 MB, free: 36.4 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.0006014/0.2085, allocations: 0.6543 MB / 440.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.865e-05/0.2086, allocations: 46.86 kB / 440.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.2086, allocations: 20.92 kB / 440.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2087, allocations: 5.859 kB / 440.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.308e-06/0.2087, allocations: 38.5 kB / 440.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2087, allocations: 0 / 440.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.2089, allocations: 90.88 kB / 440.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.346e-05/0.2089, allocations: 51.41 kB / 440.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.209, allocations: 224.1 kB / 440.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2091, allocations: 28.36 kB / 440.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.2091, allocations: 142.5 kB / 440.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.2091, allocations: 14.72 kB / 440.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.2092, allocations: 36.73 kB / 440.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.724e-05/0.2092, allocations: 328.9 kB / 441.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.2092, allocations: 15.52 kB / 441.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/0.2093, allocations: 48.28 kB / 441.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.2095, allocations: 98.98 kB / 441.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2095, allocations: 2.906 kB / 441.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001477/0.2097, allocations: 108.8 kB / 441.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.006e-06/0.2097, allocations: 5.406 kB / 441.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2097, allocations: 2.812 kB / 441.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2097, allocations: 0 / 441.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.2099, allocations: 46.45 kB / 441.6 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.21, allocations: 7.984 kB / 441.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.21, allocations: 18.78 kB / 441.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2101, allocations: 2.906 kB / 441.6 MB, free: 34.73 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.329e-05/0.2101, allocations: 138.8 kB / 441.7 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2102, allocations: 16.75 kB / 441.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.2102, allocations: 19.56 kB / 441.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2102, allocations: 2.938 kB / 441.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2102, allocations: 0 / 441.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2102, allocations: 3.938 kB / 441.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.2106, allocations: 405.6 kB / 442.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2106, allocations: 0 / 442.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.2107, allocations: 16.12 kB / 442.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2107, allocations: 0 / 442.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.2107, allocations: 6.75 kB / 442.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2107, allocations: 3.938 kB / 442.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2107, allocations: 2.688 kB / 442.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2109, allocations: 192.7 kB / 442.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.2109, allocations: 103.2 kB / 442.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.211, allocations: 6.812 kB / 442.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.2111, allocations: 0 / 442.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.2111, allocations: 2.812 kB / 442.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2111, allocations: 2.844 kB / 442.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.2112, allocations: 163.6 kB / 442.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2112, allocations: 3.938 kB / 442.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.2115, allocations: 39.53 kB / 442.7 MB, free: 33.8 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.0002657/0.2117, allocations: 0.7253 MB / 443.4 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.2118, allocations: 49.48 kB / 443.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2119, allocations: 192 / 443.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.2119, allocations: 20.69 kB / 443.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2122, allocations: 36.45 kB / 443.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.2138, allocations: 2.038 MB / 445.6 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.2139, allocations: 0.7274 MB / 446.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.617e-05/0.2139, allocations: 19.88 kB / 446.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.214, allocations: 50.38 kB / 446.4 MB, free: 30.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.214, allocations: 0 / 446.4 MB, free: 30.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3163/0.5303, allocations: 3.13 MB / 449.5 MB, free: 30.38 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.5304, allocations: 182 kB / 449.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.09, allocations: 4 kB / 449.7 MB, free: 30.11 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)