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.001745/0.001746, allocations: 108 kB / 15.6 MB, free: 132 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.002342/0.002342, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2797/0.2797, allocations: 22.33 MB / 312.7 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 55.91 kB / 380.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3542, allocations: 54.96 MB / 435.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003021/0.3573, allocations: 2.073 MB / 437.8 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.3577, allocations: 180 kB / 438 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3578, allocations: 6.781 kB / 438 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.917e-05/0.3579, allocations: 25.64 kB / 438 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3581, allocations: 60.91 kB / 438.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3582, allocations: 51.03 kB / 438.1 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3585, allocations: 212 kB / 438.4 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.3587, allocations: 106.8 kB / 438.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3589, allocations: 84.42 kB / 438.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.359, allocations: 82.73 kB / 438.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.3591, allocations: 13.84 kB / 438.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/0.3591, allocations: 15.78 kB / 438.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.3592, allocations: 39.95 kB / 438.7 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3593, allocations: 92.28 kB / 438.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3595, allocations: 202 kB / 439 MB, free: 37.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3596, allocations: 0 / 439 MB, free: 37.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3596, allocations: 0 / 439 MB, free: 37.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3596, allocations: 6.812 kB / 439 MB, free: 37.71 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.0006012/0.3602, allocations: 469.3 kB / 439.4 MB, free: 37.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3602, allocations: 10.97 kB / 439.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.3603, allocations: 21.12 kB / 439.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3605, allocations: 240.8 kB / 439.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3606, allocations: 9.781 kB / 439.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.3606, allocations: 12.62 kB / 439.7 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3609, allocations: 131.7 kB / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3609, allocations: 4.125 kB / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.3609, allocations: 10.81 kB / 439.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3609, allocations: 2.812 kB / 439.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3611, allocations: 73.45 kB / 439.9 MB, free: 36.9 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.0009435/0.362, allocations: 0.651 MB / 440.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3622, allocations: 56.92 kB / 440.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.3622, allocations: 28.42 kB / 440.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3622, allocations: 0 / 440.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.3622, allocations: 34.56 kB / 440.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.3623, allocations: 2.969 kB / 440.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.3625, allocations: 86.98 kB / 440.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3625, allocations: 54 kB / 440.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3627, allocations: 226.9 kB / 441.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3627, allocations: 25.7 kB / 441.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.3628, allocations: 144.9 kB / 441.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3628, allocations: 17.59 kB / 441.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3629, allocations: 29.38 kB / 441.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.363, allocations: 331.9 kB / 441.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.363, allocations: 23.16 kB / 441.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.3631, allocations: 43.09 kB / 441.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.3633, allocations: 97.06 kB / 441.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3634, allocations: 0 / 441.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.3635, allocations: 108.2 kB / 441.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3636, allocations: 5.75 kB / 441.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3636, allocations: 6.969 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3636, allocations: 0 / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.3638, allocations: 37.41 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3639, allocations: 2.5 kB / 441.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.3639, allocations: 22.61 kB / 442 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.364, allocations: 7.594 kB / 442 MB, free: 35.23 MB / 350.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: 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.000128/0.3641, allocations: 132.8 kB / 442.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3641, allocations: 16.19 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.3642, allocations: 18.3 kB / 442.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3642, allocations: 0 / 442.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3642, allocations: 0 / 442.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3642, allocations: 0 / 442.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.3646, allocations: 415.8 kB / 442.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3646, allocations: 3.328 kB / 442.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/0.3647, allocations: 11.41 kB / 442.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3647, allocations: 0 / 442.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3648, allocations: 6.938 kB / 442.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3648, allocations: 7.344 kB / 442.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3648, allocations: 0 / 442.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.365, allocations: 205.6 kB / 442.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.365, allocations: 92.8 kB / 442.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.365, allocations: 11.09 kB / 442.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.3651, allocations: 0 / 442.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.3652, allocations: 2.844 kB / 442.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3652, allocations: 0 / 442.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3653, allocations: 165.5 kB / 443 MB, free: 34.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3653, allocations: 4.062 kB / 443 MB, free: 34.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3655, allocations: 40.84 kB / 443.1 MB, free: 34.29 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 8.881e-05/0.3656, allocations: 94.94 kB / 443.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3658, allocations: 45.86 kB / 443.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3658, allocations: 6.75 kB / 443.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.3658, allocations: 16.38 kB / 443.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3662, allocations: 32.84 kB / 443.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.367, allocations: 419 kB / 443.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3672, allocations: 0.7239 MB / 444.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.3673, allocations: 24.42 kB / 444.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.3673, allocations: 21.34 kB / 444.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3673, allocations: 0 / 444.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of Templates: time 0.003901/0.3712, allocations: 1.534 MB / 446 MB, free: 33.05 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)