Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") translateModel(AES.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.001106/0.001106, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09547/0.09547, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.91 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.085, allocations: 54.95 MB / 492.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004198/0.08923, allocations: 3.553 MB / 496.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.09099, allocations: 1.111 MB / 497.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.09121, allocations: 0 / 497.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.09138, allocations: 67.34 kB / 497.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.09185, allocations: 186.3 kB / 497.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.09222, allocations: 203.7 kB / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.09295, allocations: 0.8265 MB / 498.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.09348, allocations: 361 kB / 499 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.09391, allocations: 303.1 kB / 499.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.09437, allocations: 338.8 kB / 499.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.09449, allocations: 72 kB / 499.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.09464, allocations: 72 kB / 499.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.09477, allocations: 147.6 kB / 499.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.0951, allocations: 334.6 kB / 0.4885 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006308/0.09574, allocations: 0.7475 MB / 0.4892 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09575, allocations: 0 / 0.4892 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09576, allocations: 0 / 0.4892 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.09578, allocations: 0 / 0.4892 GB, free: 12.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001564/0.09735, allocations: 0.8387 MB / 0.49 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.09739, allocations: 8.031 kB / 0.49 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.09751, allocations: 60.27 kB / 0.4901 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.09769, allocations: 223.7 kB / 0.4903 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.09774, allocations: 49.69 kB / 0.4904 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.09784, allocations: 71.84 kB / 0.4904 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.09882, allocations: 0.5414 MB / 0.491 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.09884, allocations: 4 kB / 0.491 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.0989, allocations: 28 kB / 0.491 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.09892, allocations: 19.94 kB / 0.491 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.09979, allocations: 0.4892 MB / 0.4915 GB, free: 9.988 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.1026, allocations: 2.343 MB / 0.4938 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1038, allocations: 0.5838 MB / 0.4943 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.1042, allocations: 238.5 kB / 0.4946 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.1043, allocations: 16.48 kB / 0.4946 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1043, allocations: 39.11 kB / 0.4946 GB, free: 6.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 1.903e-06/0.1043, allocations: 0 / 0.4946 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01258/0.1169, allocations: 3.949 MB / 0.4985 GB, free: 2.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.117, allocations: 60.41 kB / 0.4985 GB, free: 2.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1171, allocations: 144.1 kB / 0.4987 GB, free: 2.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.1172, allocations: 41.7 kB / 0.4987 GB, free: 2.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1173, allocations: 220.6 kB / 0.4989 GB, free: 1.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.1175, allocations: 303.6 kB / 0.4992 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.1177, allocations: 114.7 kB / 0.4993 GB, free: 1.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1178, allocations: 346.7 kB / 0.4997 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.1184, allocations: 277.9 kB / 0.4999 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.1189, allocations: 328.6 kB / 0.5002 GB, free: 0.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1871/0.306, allocations: 2.163 MB / 0.5023 GB, free: 21.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3061, allocations: 3.125 kB / 0.5023 GB, free: 21.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00281/0.3089, allocations: 1.087 MB / 0.5034 GB, free: 21.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3089, allocations: 7.438 kB / 0.5034 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3089, allocations: 0.6875 kB / 0.5034 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.3109, allocations: 410 kB / 0.5038 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/0.314, allocations: 422.2 kB / 0.5042 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009192/0.3232, allocations: 14.15 MB / 0.518 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.3237, allocations: 23.34 kB / 0.518 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.3237, allocations: 24.78 kB / 0.5181 GB, free: 8.934 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.324, allocations: 216 kB / 0.5183 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.3241, allocations: 33.12 kB / 0.5183 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.3276, allocations: 1.263 MB / 0.5195 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3276, allocations: 9.094 kB / 0.5196 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.3276, allocations: 2.469 kB / 0.5196 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3276, allocations: 5.422 kB / 0.5196 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.3317, allocations: 1.999 MB / 0.5215 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.3317, allocations: 1.781 kB / 0.5215 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/0.3345, allocations: 384.3 kB / 0.5219 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004014/0.3386, allocations: 0.6936 MB / 0.5226 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/0.3386, allocations: 28.91 kB / 0.5226 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.3501, allocations: 14.66 MB / 0.5369 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3501, allocations: 1.125 kB / 0.5369 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/0.3543, allocations: 1.697 MB / 0.5386 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.3544, allocations: 108.8 kB / 0.5387 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.3545, allocations: 23.16 kB / 0.5387 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.355, allocations: 20.14 kB / 0.5387 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.3552, allocations: 95.3 kB / 0.5388 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.3553, allocations: 24.28 kB / 0.5388 GB, free: 10.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.3554, allocations: 113.8 kB / 0.5389 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3554, allocations: 0 / 0.5389 GB, free: 10.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009251/0.3563, allocations: 215.2 kB / 0.5391 GB, free: 10.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.3565, allocations: 127.9 kB / 0.5393 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005034/0.3615, allocations: 1.8 MB / 0.541 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3615, allocations: 0 / 0.541 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004371/0.3659, allocations: 1.546 MB / 0.5425 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3665, allocations: 95.58 kB / 0.5426 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.369, allocations: 1.546 MB / 0.5441 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.3694, allocations: 0.8806 MB / 0.545 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3696, allocations: 38.62 kB / 0.545 GB, free: 6.5 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3696, allocations: 0 / 0.545 GB, free: 6.5 MB / 398.1 MB Notification: Performance of Templates: time 0.02676/0.3964, allocations: 26.02 MB / 0.5704 GB, free: 1.391 MB / 414.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_004.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & ./AES_AES.Devel_test_models.Test_air_circ_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)