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.00089/0.0008902, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007965/0.007965, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2258/0.2258, allocations: 22.34 MB / 313.8 MB, free: 13.03 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003329, allocations: 15.98 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2997, allocations: 55.99 MB / 438.6 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.001747/0.3015, allocations: 1.946 MB / 440.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.3018, allocations: 204.3 kB / 440.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.3019, allocations: 2.875 kB / 440.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.302, allocations: 20.41 kB / 440.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3021, allocations: 58.95 kB / 440.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.3022, allocations: 24.73 kB / 440.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3024, allocations: 212.5 kB / 441 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.3026, allocations: 94.83 kB / 441.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.3027, allocations: 75.64 kB / 441.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3028, allocations: 88.64 kB / 441.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3028, allocations: 8.969 kB / 441.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.3028, allocations: 9.219 kB / 441.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.3029, allocations: 31.84 kB / 441.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.303, allocations: 109.7 kB / 441.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3031, allocations: 191 kB / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3031, allocations: 0 / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3031, allocations: 3.594 kB / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3031, allocations: 3.938 kB / 441.6 MB, free: 37.56 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.0004314/0.3036, allocations: 443.8 kB / 442.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3036, allocations: 15.12 kB / 442.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.3037, allocations: 20.94 kB / 442.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3039, allocations: 227.8 kB / 442.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3039, allocations: 14.34 kB / 442.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3039, allocations: 13.34 kB / 442.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3041, allocations: 128 kB / 442.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3041, allocations: 192 / 442.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3041, allocations: 11.12 kB / 442.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3042, allocations: 3.906 kB / 442.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3043, allocations: 75.17 kB / 442.6 MB, free: 36.77 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.0007318/0.305, allocations: 0.66 MB / 443.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3052, allocations: 53.66 kB / 443.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.3052, allocations: 17.48 kB / 443.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.3052, allocations: 3.375 kB / 443.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3052, allocations: 30.56 kB / 443.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3053, allocations: 3.938 kB / 443.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.3055, allocations: 85.98 kB / 443.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.3055, allocations: 55.41 kB / 443.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3057, allocations: 224.8 kB / 443.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.3057, allocations: 29.64 kB / 443.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.3057, allocations: 150.1 kB / 443.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.3058, allocations: 14.66 kB / 443.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.3058, allocations: 16.69 kB / 443.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.3058, allocations: 332.3 kB / 444.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.3059, allocations: 22.81 kB / 444.2 MB, free: 35.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.306, allocations: 50.33 kB / 444.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3062, allocations: 92.64 kB / 444.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3062, allocations: 0 / 444.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001535/0.3064, allocations: 118.9 kB / 444.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3064, allocations: 5.625 kB / 444.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3064, allocations: 0 / 444.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3064, allocations: 2.875 kB / 444.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.3067, allocations: 42.64 kB / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3067, allocations: 6.844 kB / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.3068, allocations: 10.78 kB / 444.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3068, allocations: 6.812 kB / 444.6 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, 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.0001199/0.3069, allocations: 140.2 kB / 444.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3069, allocations: 16.59 kB / 444.7 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.307, allocations: 19.38 kB / 444.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.307, allocations: 2.875 kB / 444.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.307, allocations: 0 / 444.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.307, allocations: 0 / 444.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.3074, allocations: 412.9 kB / 445.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3074, allocations: 0 / 445.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.3075, allocations: 13.75 kB / 445.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3075, allocations: 0 / 445.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.3075, allocations: 14.19 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3075, allocations: 0 / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3076, allocations: 2.781 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.3077, allocations: 190.3 kB / 445.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.3078, allocations: 97.52 kB / 445.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3078, allocations: 6.562 kB / 445.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.3079, allocations: 0 / 445.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.3079, allocations: 6.5 kB / 445.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3079, allocations: 7.094 kB / 445.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3081, allocations: 169.7 kB / 445.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3081, allocations: 3.938 kB / 445.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3083, allocations: 33.94 kB / 445.7 MB, free: 34.17 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 7.289e-05/0.3084, allocations: 93.84 kB / 445.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3085, allocations: 43.98 kB / 445.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3085, allocations: 0 / 445.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.3086, allocations: 24.27 kB / 445.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3089, allocations: 32.69 kB / 445.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.3096, allocations: 0.4972 MB / 446.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3098, allocations: 0.7196 MB / 447.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.3098, allocations: 25.47 kB / 447.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.3099, allocations: 15.22 kB / 447.1 MB, free: 33 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3099, allocations: 0 / 447.1 MB, free: 33 MB / 350.1 MB Notification: Performance of Templates: time 0.003554/0.3134, allocations: 1.451 MB / 448.6 MB, free: 32.9 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)