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: translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.302/1.302, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1902/0.1902, allocations: 22.34 MB / 314.4 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 12 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 55.97 MB / 439.2 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.001585/0.2358, allocations: 1.95 MB / 441.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.2361, allocations: 205.1 kB / 441.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.2362, allocations: 3 kB / 441.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.2362, allocations: 21.44 kB / 441.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.2364, allocations: 63.5 kB / 441.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.2365, allocations: 28.81 kB / 441.5 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.2367, allocations: 205.2 kB / 441.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2368, allocations: 98.59 kB / 441.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.2369, allocations: 73.06 kB / 441.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.237, allocations: 78.47 kB / 441.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.2371, allocations: 8.5 kB / 441.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.2371, allocations: 10.91 kB / 442 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.2371, allocations: 27.52 kB / 442 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.2372, allocations: 120.8 kB / 442.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2373, allocations: 141.8 kB / 442.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2373, allocations: 3 kB / 442.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2373, allocations: 0 / 442.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.2373, allocations: 0 / 442.2 MB, free: 37.45 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.0003974/0.2377, allocations: 444.6 kB / 442.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2378, allocations: 12.62 kB / 442.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.2378, allocations: 23.31 kB / 442.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.238, allocations: 234.3 kB / 442.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.238, allocations: 18.72 kB / 443 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.2381, allocations: 13.34 kB / 443 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.2383, allocations: 121.5 kB / 443.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2383, allocations: 192 / 443.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2383, allocations: 10.66 kB / 443.1 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2383, allocations: 6.781 kB / 443.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2384, allocations: 79.67 kB / 443.2 MB, free: 36.66 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.0006888/0.2391, allocations: 0.6623 MB / 443.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2393, allocations: 47.05 kB / 443.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.2393, allocations: 29.16 kB / 443.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2393, allocations: 4 kB / 443.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-06/0.2393, allocations: 33.19 kB / 444 MB, free: 35.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2394, allocations: 0 / 444 MB, free: 35.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.2396, allocations: 82.2 kB / 444 MB, free: 35.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.2396, allocations: 54.73 kB / 444.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2397, allocations: 225.1 kB / 444.3 MB, free: 35.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.2398, allocations: 25.7 kB / 444.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.2398, allocations: 148.1 kB / 444.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.2398, allocations: 22.47 kB / 444.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.2399, allocations: 12.19 kB / 444.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.2399, allocations: 334.6 kB / 444.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.24, allocations: 23.38 kB / 444.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.24, allocations: 44.3 kB / 444.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2403, allocations: 91.83 kB / 445 MB, free: 35.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2403, allocations: 0 / 445 MB, free: 35.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001616/0.2404, allocations: 112 kB / 445.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2405, allocations: 5.938 kB / 445.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2405, allocations: 0 / 445.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2405, allocations: 2.844 kB / 445.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.2408, allocations: 42.97 kB / 445.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2408, allocations: 6.156 kB / 445.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.2409, allocations: 10.31 kB / 445.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2409, allocations: 6.844 kB / 445.2 MB, free: 35 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 0.000109/0.241, allocations: 137.5 kB / 445.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.241, allocations: 20.91 kB / 445.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.2411, allocations: 14.44 kB / 445.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2411, allocations: 2.625 kB / 445.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2411, allocations: 3.375 kB / 445.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2411, allocations: 3.938 kB / 445.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.2415, allocations: 411.2 kB / 445.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2415, allocations: 4.094 kB / 445.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.2416, allocations: 16.78 kB / 445.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2416, allocations: 4 kB / 445.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.2417, allocations: 6.812 kB / 445.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2417, allocations: 0 / 445.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2417, allocations: 3.188 kB / 445.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.2418, allocations: 200 kB / 446 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.2419, allocations: 91.25 kB / 446.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.2419, allocations: 6.781 kB / 446.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.242, allocations: 0 / 446.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.242, allocations: 10.86 kB / 446.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.242, allocations: 7.734 kB / 446.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.2421, allocations: 163.3 kB / 446.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2422, allocations: 2.812 kB / 446.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.2424, allocations: 34.75 kB / 446.3 MB, free: 34.05 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 6.589e-05/0.2425, allocations: 97.5 kB / 446.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.2426, allocations: 51.41 kB / 446.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2426, allocations: 0 / 446.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.2427, allocations: 20.31 kB / 446.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.243, allocations: 31.22 kB / 446.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.2437, allocations: 0.5145 MB / 447 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2438, allocations: 0.7224 MB / 447.7 MB, free: 32.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.2439, allocations: 16.75 kB / 447.7 MB, free: 32.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2439, allocations: 3.938 kB / 447.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of Templates: time 0.002751/0.2466, allocations: 1.902 MB / 449.6 MB, free: 32.73 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile (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 & ./AES_AES.Devel_test_models.Test_header_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)