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: translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001037/0.001037, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09017/0.09017, allocations: 22.32 MB / 313.5 MB, free: 8.848 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 68.08 kB / 382.2 MB, free: 40.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1197, allocations: 54.96 MB / 437.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.00319/0.1229, allocations: 1.935 MB / 439.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.1233, allocations: 151.4 kB / 439.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1235, allocations: 0 / 439.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.792e-05/0.1236, allocations: 27.78 kB / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1237, allocations: 55.48 kB / 439.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.1239, allocations: 23.97 kB / 439.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1241, allocations: 183 kB / 439.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1243, allocations: 77.5 kB / 439.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1244, allocations: 63.73 kB / 439.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1245, allocations: 75.62 kB / 439.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1246, allocations: 12 kB / 439.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.1246, allocations: 8 kB / 439.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.1246, allocations: 23.92 kB / 439.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.3e-05/0.1247, allocations: 79.61 kB / 439.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1249, allocations: 155.4 kB / 440 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1249, allocations: 0 / 440 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1249, allocations: 0 / 440 MB, free: 9.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.125, allocations: 0 / 440 MB, free: 9.328 MB / 318.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.0006081/0.1256, allocations: 438.8 kB / 440.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1256, allocations: 8.031 kB / 440.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1257, allocations: 16.75 kB / 440.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1259, allocations: 224.6 kB / 440.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1259, allocations: 16.34 kB / 440.7 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.126, allocations: 12.38 kB / 440.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1262, allocations: 114.6 kB / 440.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1262, allocations: 4.172 kB / 440.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1262, allocations: 11.88 kB / 440.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1263, allocations: 4 kB / 440.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1264, allocations: 55.98 kB / 440.9 MB, free: 8.344 MB / 318.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.0009108/0.1273, allocations: 0.7832 MB / 441.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1275, allocations: 50.5 kB / 441.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.1275, allocations: 20.95 kB / 441.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1275, allocations: 11.91 kB / 441.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1276, allocations: 30.56 kB / 441.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1276, allocations: 0 / 441.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.1278, allocations: 73.5 kB / 441.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1278, allocations: 67.22 kB / 442 MB, free: 7.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.128, allocations: 199.8 kB / 442.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.128, allocations: 29.7 kB / 442.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.1281, allocations: 127.8 kB / 442.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1281, allocations: 15.83 kB / 442.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1282, allocations: 17.72 kB / 442.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1283, allocations: 326.8 kB / 442.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.1283, allocations: 16 kB / 442.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.1284, allocations: 25.7 kB / 442.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.1287, allocations: 81.62 kB / 442.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1287, allocations: 0 / 442.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.1288, allocations: 93.42 kB / 442.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1289, allocations: 4 kB / 442.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1289, allocations: 4 kB / 442.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1289, allocations: 0 / 442.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.129, allocations: 19.97 kB / 442.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.129, allocations: 3.984 kB / 442.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.1291, allocations: 11.84 kB / 442.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1291, allocations: 4 kB / 442.9 MB, free: 6.152 MB / 318.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.0001134/0.1292, allocations: 121.8 kB / 443 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1293, allocations: 11.84 kB / 443.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.1293, allocations: 16.92 kB / 443.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1293, allocations: 4 kB / 443.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1293, allocations: 0 / 443.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1293, allocations: 4 kB / 443.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1295, allocations: 205.5 kB / 443.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1296, allocations: 3.938 kB / 443.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.335e-05/0.1297, allocations: 12.11 kB / 443.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1297, allocations: 4 kB / 443.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1297, allocations: 4 kB / 443.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1297, allocations: 0 / 443.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1297, allocations: 0 / 443.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.1299, allocations: 187.5 kB / 443.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.13, allocations: 92.89 kB / 443.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.13, allocations: 0 / 443.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1301, allocations: 3.984 kB / 443.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1301, allocations: 3.938 kB / 443.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1301, allocations: 4 kB / 443.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1302, allocations: 149.5 kB / 443.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 0 / 443.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1305, allocations: 24.06 kB / 443.8 MB, free: 5.219 MB / 318.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 8.47e-05/0.1306, allocations: 99.19 kB / 443.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.1307, allocations: 35.92 kB / 443.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1307, allocations: 0 / 443.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.1308, allocations: 15.98 kB / 443.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1311, allocations: 38.09 kB / 443.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.1317, allocations: 345.9 kB / 444.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.132, allocations: 0.7122 MB / 445 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1321, allocations: 17.42 kB / 445 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1321, allocations: 15.44 kB / 445 MB, free: 3.895 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1321, allocations: 0 / 445 MB, free: 3.895 MB / 318.1 MB Notification: Performance of Templates: time 0.003762/0.1359, allocations: 1.346 MB / 446.4 MB, free: 2.57 MB / 318.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile (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 & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)