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.001509/0.00151, 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.001431/0.001431, allocations: 192.6 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2088/0.2088, allocations: 22.37 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 71.89 kB / 380.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3591, allocations: 54.94 MB / 435.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.003992/0.3631, allocations: 3.279 MB / 439.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3647, allocations: 1.063 MB / 440.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3649, allocations: 2.656 kB / 440.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.365, allocations: 58.31 kB / 440.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3654, allocations: 164.4 kB / 440.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3657, allocations: 204.6 kB / 440.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005263/0.3662, allocations: 0.7649 MB / 441.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.3666, allocations: 317.6 kB / 441.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.3669, allocations: 290 kB / 441.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.3672, allocations: 301.1 kB / 442.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.3673, allocations: 63.78 kB / 442.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.3674, allocations: 68.03 kB / 442.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.3675, allocations: 132.6 kB / 442.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3678, allocations: 303.4 kB / 442.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.3682, allocations: 0.6651 MB / 443.4 MB, free: 35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3682, allocations: 0 / 443.4 MB, free: 35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3682, allocations: 7.594 kB / 443.4 MB, free: 35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3683, allocations: 0 / 443.4 MB, free: 35 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.001371/0.3696, allocations: 0.78 MB / 444.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3697, allocations: 8.531 kB / 444.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3698, allocations: 49.38 kB / 444.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.37, allocations: 221 kB / 444.5 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.37, allocations: 48.5 kB / 444.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.3701, allocations: 59.25 kB / 444.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.3708, allocations: 0.4924 MB / 445.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3708, allocations: 2.906 kB / 445.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.3709, allocations: 19 kB / 445.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3709, allocations: 13.69 kB / 445.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.3716, allocations: 492.3 kB / 445.6 MB, free: 33.73 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.002246/0.3738, allocations: 1.644 MB / 447.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.3747, allocations: 0.5047 MB / 447.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.375, allocations: 222.4 kB / 447.9 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.375, allocations: 10.03 kB / 448 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3751, allocations: 41.72 kB / 448 MB, free: 32.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 2.375e-06/0.3751, allocations: 0 / 448 MB, free: 32.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.006232/0.3813, allocations: 2.405 MB / 450.4 MB, free: 31.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3814, allocations: 63.94 kB / 450.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3816, allocations: 188 kB / 450.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.3816, allocations: 40.34 kB / 450.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.3817, allocations: 185.4 kB / 450.9 MB, free: 30.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3819, allocations: 264.6 kB / 451.1 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3821, allocations: 109.1 kB / 451.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.3821, allocations: 344.1 kB / 451.6 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3825, allocations: 213.8 kB / 451.8 MB, free: 29.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.3828, allocations: 276.4 kB / 452 MB, free: 29.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007487/0.3903, allocations: 1.634 MB / 453.7 MB, free: 29.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3904, allocations: 0 / 453.7 MB, free: 29.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001685/0.392, allocations: 0.776 MB / 454.5 MB, free: 29.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3921, allocations: 9.406 kB / 454.5 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3921, allocations: 0 / 454.5 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000921/0.393, allocations: 188.8 kB / 454.6 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/0.3968, allocations: 0.5086 MB / 455.2 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/0.4034, allocations: 10.62 MB / 465.8 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.4039, allocations: 17.05 kB / 465.8 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.404, allocations: 22 kB / 465.8 MB, free: 18.25 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 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.0003368/0.4043, allocations: 195.8 kB / 466 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.4044, allocations: 41.16 kB / 466.1 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.4065, allocations: 0.933 MB / 467 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4066, allocations: 8.188 kB / 467 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4066, allocations: 9.891 kB / 467 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.4066, allocations: 3 kB / 467 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.4097, allocations: 1.884 MB / 468.9 MB, free: 16.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4097, allocations: 6.938 kB / 468.9 MB, free: 16.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/0.4132, allocations: 470.9 kB / 469.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.4151, allocations: 334.7 kB / 469.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-05/0.4152, allocations: 26.08 kB / 469.7 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/0.4223, allocations: 10.81 MB / 480.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/0.4223, allocations: 18.62 kB / 480.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.4251, allocations: 1.396 MB / 481.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4253, allocations: 118.1 kB / 482 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.4253, allocations: 22.34 kB / 482.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.4258, allocations: 20.12 kB / 482.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.426, allocations: 88.3 kB / 482.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.4261, allocations: 31.56 kB / 482.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.4263, allocations: 140.9 kB / 482.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4263, allocations: 4 kB / 482.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009675/0.4273, allocations: 166.8 kB / 482.5 MB, free: 4.496 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.0001893/0.4274, allocations: 135.3 kB / 482.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00511/0.4326, allocations: 1.371 MB / 484 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.4326, allocations: 1.312 kB / 484 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004181/0.4368, allocations: 1.108 MB / 485.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.4377, allocations: 131.5 kB / 485.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.44, allocations: 1.32 MB / 486.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.4404, allocations: 0.8417 MB / 487.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000443/0.4409, allocations: 63.89 kB / 487.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.441, allocations: 36.78 kB / 487.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.441, allocations: 7.875 kB / 487.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Templates: time 0.01945/0.4605, allocations: 8.727 MB / 496.2 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)