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.00109/0.00109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001151/0.001151, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.189/0.189, allocations: 22.37 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.83 kB / 380.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2462, allocations: 54.93 MB / 435.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002482/0.2487, allocations: 2.124 MB / 437.4 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.249, allocations: 170.6 kB / 437.5 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.2491, allocations: 3.125 kB / 437.5 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.952e-05/0.2492, allocations: 18.48 kB / 437.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2493, allocations: 48.36 kB / 437.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.2494, allocations: 24.36 kB / 437.6 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2495, allocations: 172.7 kB / 437.8 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.2497, allocations: 92 kB / 437.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.2498, allocations: 59.89 kB / 437.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.2499, allocations: 71.33 kB / 438 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.2499, allocations: 11.53 kB / 438 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.25, allocations: 11.69 kB / 438 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.25, allocations: 33.67 kB / 438.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.25, allocations: 72.5 kB / 438.1 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2502, allocations: 150.8 kB / 438.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2502, allocations: 0 / 438.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2502, allocations: 0 / 438.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2502, allocations: 0 / 438.3 MB, free: 37.63 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000422/0.2506, allocations: 441.8 kB / 438.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.2507, allocations: 8.281 kB / 438.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2507, allocations: 16.94 kB / 438.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2509, allocations: 224.7 kB / 439 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2509, allocations: 15.88 kB / 439 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2509, allocations: 9.781 kB / 439 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.2511, allocations: 121.3 kB / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2511, allocations: 192 / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2511, allocations: 6.625 kB / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2512, allocations: 2.5 kB / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.2513, allocations: 59.16 kB / 439.2 MB, free: 36.86 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) * 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.0007152/0.252, allocations: 0.774 MB / 439.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2521, allocations: 55.42 kB / 440 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.2522, allocations: 17.64 kB / 440 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2522, allocations: 6.5 kB / 440 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.2522, allocations: 34.5 kB / 440.1 MB, free: 36.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2522, allocations: 0 / 440.1 MB, free: 36.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001881/0.2524, allocations: 77 kB / 440.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.2524, allocations: 55.34 kB / 440.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2526, allocations: 196.2 kB / 440.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.2526, allocations: 25.7 kB / 440.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2526, allocations: 131 kB / 440.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.2527, allocations: 15.75 kB / 440.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.2527, allocations: 22.77 kB / 440.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.2528, allocations: 321.2 kB / 440.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.2528, allocations: 13.17 kB / 440.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.2528, allocations: 44.58 kB / 440.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2531, allocations: 72.62 kB / 441 MB, free: 35.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2531, allocations: 64 / 441 MB, free: 35.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001298/0.2533, allocations: 99.31 kB / 441.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2533, allocations: 8.031 kB / 441.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2533, allocations: 4.031 kB / 441.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2533, allocations: 3.031 kB / 441.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.2534, allocations: 13.12 kB / 441.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2534, allocations: 0 / 441.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.2535, allocations: 7 kB / 441.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2535, allocations: 2.875 kB / 441.1 MB, free: 35.11 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 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: 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.0001083/0.2536, allocations: 129.6 kB / 441.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.2537, allocations: 25.44 kB / 441.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2537, allocations: 18.12 kB / 441.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2537, allocations: 0 / 441.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2537, allocations: 0 / 441.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2537, allocations: 0 / 441.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2539, allocations: 203.9 kB / 441.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2539, allocations: 6.406 kB / 441.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.254, allocations: 11.05 kB / 441.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.254, allocations: 0 / 441.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.254, allocations: 0 / 441.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.254, allocations: 4 kB / 441.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.254, allocations: 0 / 441.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.2542, allocations: 176 kB / 441.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.2542, allocations: 103.1 kB / 441.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.2543, allocations: 0 / 441.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2544, allocations: 0 / 441.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.2544, allocations: 6.875 kB / 441.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2544, allocations: 3.281 kB / 441.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.287e-05/0.2545, allocations: 152.3 kB / 442 MB, free: 34.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2545, allocations: 0 / 442 MB, free: 34.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.2547, allocations: 19.41 kB / 442 MB, free: 34.37 MB / 350.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 7.628e-05/0.2548, allocations: 99.66 kB / 442.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.255, allocations: 36.22 kB / 442.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.255, allocations: 2.594 kB / 442.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.255, allocations: 14.03 kB / 442.1 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2553, allocations: 41.44 kB / 442.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.2558, allocations: 383.6 kB / 442.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2559, allocations: 0.7151 MB / 443.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.256, allocations: 14.25 kB / 443.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.2561, allocations: 15.62 kB / 443.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2561, allocations: 0 / 443.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of Templates: time 0.003271/0.2593, allocations: 1.354 MB / 444.6 MB, free: 33.14 MB / 350.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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)