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.001134/0.001133, allocations: 102.4 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.001089/0.001089, allocations: 191 kB / 17.29 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09091/0.09091, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002109, allocations: 63.09 kB / 382.2 MB, free: 40.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 54.96 MB / 437.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003315/0.1222, allocations: 1.938 MB / 439.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.1225, allocations: 155.5 kB / 439.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.1226, allocations: 7.938 kB / 439.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.016e-05/0.1227, allocations: 19.78 kB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1228, allocations: 47.56 kB / 439.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.123, allocations: 39.89 kB / 439.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1232, allocations: 175.1 kB / 439.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.1234, allocations: 85.41 kB / 439.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1235, allocations: 55.8 kB / 439.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1236, allocations: 71.64 kB / 439.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1237, allocations: 15.94 kB / 439.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.436e-05/0.1237, allocations: 12 kB / 439.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.1237, allocations: 23.86 kB / 439.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.1238, allocations: 75.61 kB / 439.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.124, allocations: 159.4 kB / 440.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.124, allocations: 0 / 440.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.124, allocations: 0 / 440.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1241, allocations: 4 kB / 440.1 MB, free: 9.355 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.0006564/0.1247, allocations: 430.8 kB / 440.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1248, allocations: 8.031 kB / 440.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1248, allocations: 24.73 kB / 440.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1251, allocations: 224.6 kB / 440.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1252, allocations: 8.375 kB / 440.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1252, allocations: 4.375 kB / 440.7 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1254, allocations: 122.4 kB / 440.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1255, allocations: 192 / 440.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1255, allocations: 11.94 kB / 440.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1255, allocations: 0 / 440.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1256, allocations: 63.91 kB / 440.9 MB, free: 8.379 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.000984/0.1266, allocations: 0.7884 MB / 441.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1268, allocations: 42.56 kB / 441.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1269, allocations: 20.86 kB / 441.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1269, allocations: 7.875 kB / 441.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1269, allocations: 42.64 kB / 441.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1269, allocations: 0 / 441.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002253/0.1272, allocations: 73.5 kB / 441.9 MB, free: 7.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1272, allocations: 51.41 kB / 442 MB, free: 7.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1274, allocations: 203.7 kB / 442.2 MB, free: 7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1274, allocations: 25.7 kB / 442.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.1275, allocations: 127.8 kB / 442.3 MB, free: 6.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1275, allocations: 11.84 kB / 442.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1276, allocations: 25.7 kB / 442.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1277, allocations: 322.8 kB / 442.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.1278, allocations: 16 kB / 442.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.1278, allocations: 33.64 kB / 442.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.1281, allocations: 77.69 kB / 442.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1281, allocations: 4 kB / 442.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001494/0.1283, allocations: 89.38 kB / 442.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1283, allocations: 11.98 kB / 442.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1283, allocations: 0 / 442.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1284, allocations: 3.938 kB / 442.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.1285, allocations: 12 kB / 442.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1285, allocations: 0 / 442.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.1286, allocations: 15.83 kB / 442.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1286, allocations: 0 / 442.9 MB, free: 6.195 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.0001315/0.1287, allocations: 133.8 kB / 443 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1287, allocations: 15.84 kB / 443.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.1288, allocations: 16.92 kB / 443.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1288, allocations: 0 / 443.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1288, allocations: 0 / 443.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1288, allocations: 192 / 443.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.129, allocations: 209.5 kB / 443.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.129, allocations: 7.938 kB / 443.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.1291, allocations: 16.09 kB / 443.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1291, allocations: 4 kB / 443.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1291, allocations: 0 / 443.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1291, allocations: 0 / 443.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1291, allocations: 0 / 443.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.1294, allocations: 171.4 kB / 443.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.1294, allocations: 92.89 kB / 443.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1294, allocations: 0 / 443.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.1295, allocations: 12 kB / 443.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.1296, allocations: 7.984 kB / 443.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1296, allocations: 3.938 kB / 443.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1297, allocations: 149.5 kB / 443.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1297, allocations: 0 / 443.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1299, allocations: 20 kB / 443.8 MB, free: 5.254 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 9.205e-05/0.13, allocations: 95.25 kB / 443.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1302, allocations: 39.98 kB / 443.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1302, allocations: 0 / 443.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.1302, allocations: 15.94 kB / 443.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1305, allocations: 23.92 kB / 443.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.1312, allocations: 350 kB / 444.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1315, allocations: 0.7161 MB / 445 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.952e-05/0.1315, allocations: 17.36 kB / 445 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.1316, allocations: 19.44 kB / 445 MB, free: 3.93 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1316, allocations: 0 / 445 MB, free: 3.93 MB / 318.1 MB Notification: Performance of Templates: time 0.003779/0.1354, allocations: 1.354 MB / 446.4 MB, free: 2.598 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 cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)