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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.685/1.685, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1033/0.1033, allocations: 22.93 MB / 332.5 MB, free: 2.637 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 60.75 kB / 466.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1199, allocations: 59.26 MB / 0.5137 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003537/0.1234, allocations: 1.968 MB / 0.5156 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.124, allocations: 143.5 kB / 0.5157 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1241, allocations: 7.938 kB / 0.5157 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.618e-05/0.1242, allocations: 23.78 kB / 0.5158 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1244, allocations: 59.48 kB / 0.5158 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.1245, allocations: 35.91 kB / 0.5159 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1248, allocations: 171.1 kB / 0.516 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.125, allocations: 69.42 kB / 0.5161 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1251, allocations: 63.8 kB / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1253, allocations: 67.64 kB / 0.5162 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1253, allocations: 12 kB / 0.5162 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/0.1253, allocations: 15.94 kB / 0.5162 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.1254, allocations: 23.92 kB / 0.5163 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.1255, allocations: 79.59 kB / 0.5163 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1257, allocations: 151.3 kB / 0.5165 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1257, allocations: 8 kB / 0.5165 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1257, allocations: 0 / 0.5165 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1257, allocations: 0 / 0.5165 GB, free: 11.11 MB / 382.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.0006962/0.1264, allocations: 447.8 kB / 0.5169 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1264, allocations: 12.62 kB / 0.5169 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.1265, allocations: 192 / 0.5169 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1265, allocations: 46.73 kB / 0.517 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.1266, allocations: 16.84 kB / 0.517 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1269, allocations: 224.8 kB / 0.5172 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1269, allocations: 8.375 kB / 0.5172 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.127, allocations: 8.375 kB / 0.5172 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1272, allocations: 127.1 kB / 0.5173 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1273, allocations: 0 / 0.5173 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1273, allocations: 8 kB / 0.5173 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1273, allocations: 3.938 kB / 0.5174 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1274, allocations: 62.09 kB / 0.5174 GB, free: 10.07 MB / 382.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.001214/0.1287, allocations: 0.7921 MB / 0.5182 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1288, allocations: 54.44 kB / 0.5182 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.1289, allocations: 24.8 kB / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1289, allocations: 0 / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1289, allocations: 34.64 kB / 0.5183 GB, free: 9.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1289, allocations: 0 / 0.5183 GB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002727/0.1292, allocations: 73.59 kB / 0.5184 GB, free: 8.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1293, allocations: 51.41 kB / 0.5184 GB, free: 8.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1295, allocations: 196.8 kB / 0.5186 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1295, allocations: 33.64 kB / 0.5186 GB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1296, allocations: 127.9 kB / 0.5188 GB, free: 8.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1296, allocations: 11.95 kB / 0.5188 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.1297, allocations: 21.7 kB / 0.5188 GB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1298, allocations: 322.8 kB / 0.5191 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.1299, allocations: 8 kB / 0.5191 GB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.1299, allocations: 33.7 kB / 0.5191 GB, free: 8.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.1303, allocations: 77.69 kB / 0.5192 GB, free: 8.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1303, allocations: 0 / 0.5192 GB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000199/0.1305, allocations: 101.5 kB / 0.5193 GB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1305, allocations: 4 kB / 0.5193 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1305, allocations: 0 / 0.5193 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1306, allocations: 4 kB / 0.5193 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1307, allocations: 16.03 kB / 0.5193 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1307, allocations: 0 / 0.5193 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.1308, allocations: 15.81 kB / 0.5193 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1308, allocations: 4 kB / 0.5193 GB, free: 7.883 MB / 382.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 0.0001756/0.1309, allocations: 125.8 kB / 0.5195 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.131, allocations: 11.91 kB / 0.5195 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.131, allocations: 16.92 kB / 0.5195 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.131, allocations: 4 kB / 0.5195 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.131, allocations: 0 / 0.5195 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.131, allocations: 0 / 0.5195 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.1313, allocations: 213.5 kB / 0.5197 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1314, allocations: 0 / 0.5197 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1315, allocations: 11.98 kB / 0.5197 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1315, allocations: 0 / 0.5197 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1315, allocations: 4 kB / 0.5197 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1315, allocations: 3.938 kB / 0.5197 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1315, allocations: 4.125 kB / 0.5197 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1318, allocations: 191.3 kB / 0.5199 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.1318, allocations: 93.05 kB / 0.52 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1319, allocations: 0 / 0.52 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.1319, allocations: 0 / 0.52 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.132, allocations: 3.984 kB / 0.52 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.132, allocations: 4 kB / 0.52 GB, free: 7.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1321, allocations: 144.5 kB / 0.5201 GB, free: 6.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1321, allocations: 0 / 0.5201 GB, free: 6.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1324, allocations: 24.06 kB / 0.5202 GB, free: 6.945 MB / 382.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.0005901/0.133, allocations: 0.7162 MB / 0.5209 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1331, allocations: 31.92 kB / 0.5209 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1331, allocations: 0 / 0.5209 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.1332, allocations: 12 kB / 0.5209 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1335, allocations: 36.23 kB / 0.5209 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1358, allocations: 1.791 MB / 0.5227 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1362, allocations: 0.7162 MB / 0.5234 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.1363, allocations: 13.42 kB / 0.5234 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.1363, allocations: 43.36 kB / 0.5234 GB, free: 3.449 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1363, allocations: 4 kB / 0.5234 GB, free: 3.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1599, allocations: 3.059 MB / 0.5264 GB, free: 496 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/8.605, allocations: 5.75 kB / 0.5264 GB, free: 492 kB / 382.1 MB " [Timeout remaining time 651] (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 --stepSize=8.64 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.716946206986904] Failed to read output from testmodel.py, exit status != 0: 8.734771015006118 8.751114506 8.622217068 Calling exit ...