Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") translateModel(AES.Devel_test_models.Test_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001637/0.001637, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2044/0.2044, allocations: 22.36 MB / 312.4 MB, free: 12.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 380.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3004, allocations: 54.94 MB / 435.2 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.00498/0.3055, allocations: 3.328 MB / 438.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3074, allocations: 1.051 MB / 439.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3076, allocations: 2.906 kB / 439.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.3077, allocations: 42.89 kB / 439.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.3081, allocations: 143 kB / 439.8 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3084, allocations: 171.2 kB / 440 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.3089, allocations: 0.7733 MB / 440.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.3092, allocations: 309.8 kB / 441 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.3095, allocations: 293.1 kB / 441.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3098, allocations: 293.6 kB / 441.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.3099, allocations: 64.19 kB / 441.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.31, allocations: 66.59 kB / 441.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.3101, allocations: 132.5 kB / 441.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.3103, allocations: 304.3 kB / 442.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.3107, allocations: 0.6658 MB / 442.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3107, allocations: 8 kB / 442.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3107, allocations: 0 / 442.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3107, allocations: 3.328 kB / 442.9 MB, free: 34.87 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001416/0.3122, allocations: 0.7729 MB / 443.6 MB, free: 34.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3122, allocations: 11.66 kB / 443.6 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.3123, allocations: 48.31 kB / 443.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3124, allocations: 234.1 kB / 443.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.3125, allocations: 40.03 kB / 444 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.3126, allocations: 58.12 kB / 444 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.3133, allocations: 0.4912 MB / 444.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3133, allocations: 0 / 444.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.3133, allocations: 21.31 kB / 444.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3133, allocations: 13.41 kB / 444.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.314, allocations: 491.9 kB / 445 MB, free: 33.61 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.316, allocations: 1.631 MB / 446.6 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.3167, allocations: 0.5049 MB / 447.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.317, allocations: 220.7 kB / 447.4 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/0.3171, allocations: 16.88 kB / 447.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3171, allocations: 49.28 kB / 447.4 MB, free: 32.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.613e-06/0.3171, allocations: 0 / 447.4 MB, free: 32.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005651/0.3228, allocations: 2.4 MB / 449.8 MB, free: 30.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3228, allocations: 75.78 kB / 449.9 MB, free: 30.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.323, allocations: 180.4 kB / 450.1 MB, free: 30.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.323, allocations: 37.42 kB / 450.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.3231, allocations: 190.5 kB / 450.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.3233, allocations: 263.3 kB / 450.6 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3234, allocations: 110.5 kB / 450.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.3235, allocations: 341.9 kB / 451 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.3238, allocations: 212.8 kB / 451.2 MB, free: 29.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.3242, allocations: 274.6 kB / 451.5 MB, free: 29.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/0.3319, allocations: 1.639 MB / 453.1 MB, free: 29.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3319, allocations: 0 / 453.1 MB, free: 29.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001705/0.3336, allocations: 0.773 MB / 453.9 MB, free: 28.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3337, allocations: 9.688 kB / 453.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3337, allocations: 0 / 453.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/0.3347, allocations: 187.7 kB / 454.1 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.3384, allocations: 0.506 MB / 454.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/0.3455, allocations: 10.61 MB / 465.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.346, allocations: 37.8 kB / 465.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.3461, allocations: 25.72 kB / 465.3 MB, free: 18.13 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) 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 (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.3464, allocations: 204.5 kB / 465.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.3465, allocations: 41.38 kB / 465.5 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.3486, allocations: 0.9352 MB / 466.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3486, allocations: 8.438 kB / 466.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3486, allocations: 4.812 kB / 466.5 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3487, allocations: 4.172 kB / 466.5 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.3519, allocations: 1.886 MB / 468.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3519, allocations: 5.75 kB / 468.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003382/0.3553, allocations: 471.2 kB / 468.8 MB, free: 16.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.3572, allocations: 332.6 kB / 469.1 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.3573, allocations: 25.78 kB / 469.2 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007288/0.3646, allocations: 10.81 MB / 480 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.3646, allocations: 14 kB / 480 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.3671, allocations: 1.399 MB / 481.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3673, allocations: 124.2 kB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.3674, allocations: 24.94 kB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.3679, allocations: 30.94 kB / 481.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.3681, allocations: 92.95 kB / 481.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.3681, allocations: 25.66 kB / 481.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3682, allocations: 140.6 kB / 481.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3683, allocations: 0 / 481.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007894/0.369, allocations: 171.3 kB / 482 MB, free: 4.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.3692, allocations: 140.8 kB / 482.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005032/0.3742, allocations: 1.38 MB / 483.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3743, allocations: 1.469 kB / 483.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00417/0.3784, allocations: 1.099 MB / 484.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.3793, allocations: 133.5 kB / 484.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3814, allocations: 1.545 MB / 486.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.3819, allocations: 0.8419 MB / 487.1 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.3823, allocations: 63.44 kB / 487.2 MB, free: 17.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3824, allocations: 40.88 kB / 487.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3824, allocations: 0 / 487.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01537/0.3978, allocations: 8.707 MB / 495.9 MB, free: 14.62 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_001.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & ./AES_AES.Devel_test_models.Test_air_circ_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)