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.001194/0.001194, allocations: 107 kB / 16.37 MB, free: 6.477 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.001275/0.001275, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09304/0.09304, allocations: 22.32 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 62.66 kB / 382.2 MB, free: 41.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08684, allocations: 54.97 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004723/0.0916, allocations: 3.558 MB / 440.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.09372, allocations: 1.099 MB / 441.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.09402, allocations: 4 kB / 441.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.0942, allocations: 75.28 kB / 441.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.09476, allocations: 182.3 kB / 442.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.09516, allocations: 211.7 kB / 442.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.09605, allocations: 0.8187 MB / 443.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.09671, allocations: 357 kB / 443.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.09718, allocations: 311.1 kB / 443.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.09762, allocations: 326.8 kB / 444.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.09773, allocations: 72 kB / 444.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.09787, allocations: 75.94 kB / 444.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.098, allocations: 163.5 kB / 444.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.09835, allocations: 334.6 kB / 444.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.09897, allocations: 0.7398 MB / 445.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09898, allocations: 0 / 445.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09899, allocations: 0 / 445.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.09902, allocations: 0 / 445.5 MB, free: 3.949 MB / 318.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.001683/0.1007, allocations: 0.831 MB / 446.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1008, allocations: 12.03 kB / 446.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1009, allocations: 56.28 kB / 446.4 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1011, allocations: 227.7 kB / 446.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.1011, allocations: 49.69 kB / 446.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1013, allocations: 71.84 kB / 446.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.1022, allocations: 0.5453 MB / 447.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1022, allocations: 4 kB / 447.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.1023, allocations: 24 kB / 447.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1023, allocations: 16 kB / 447.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.1032, allocations: 0.4892 MB / 447.8 MB, free: 1.535 MB / 318.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.00283/0.106, allocations: 2.354 MB / 450.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1072, allocations: 0.5799 MB / 450.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.1076, allocations: 238.5 kB / 451 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.1076, allocations: 16.48 kB / 451 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1077, allocations: 43.06 kB / 451 MB, free: 14.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 1.914e-06/0.1077, allocations: 0 / 451 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.01216/0.1199, allocations: 3.933 MB / 455 MB, free: 9.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1199, allocations: 60.41 kB / 455 MB, free: 9.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1201, allocations: 152.2 kB / 455.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.1201, allocations: 41.7 kB / 455.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1203, allocations: 220.7 kB / 455.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.1205, allocations: 299.6 kB / 455.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1207, allocations: 106.7 kB / 455.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1208, allocations: 350.7 kB / 456.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.1213, allocations: 273.9 kB / 456.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.1218, allocations: 332.6 kB / 456.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.1321, allocations: 2.17 MB / 458.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1322, allocations: 0 / 458.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002846/0.135, allocations: 1.091 MB / 460 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.135, allocations: 8 kB / 460 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1351, allocations: 0 / 460 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.1371, allocations: 408.7 kB / 460.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.1402, allocations: 427.5 kB / 460.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.1526, allocations: 14.14 MB / 475 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.1531, allocations: 24.02 kB / 475 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.1532, allocations: 20 kB / 475 MB, free: 4.523 MB / 350.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.0003655/0.1536, allocations: 209.7 kB / 475.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.1537, allocations: 39.53 kB / 475.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.1571, allocations: 1.26 MB / 476.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1572, allocations: 8 kB / 476.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.1572, allocations: 7.984 kB / 476.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1572, allocations: 3.984 kB / 476.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.1617, allocations: 2.006 MB / 478.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.1617, allocations: 0 / 478.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/0.1646, allocations: 387.6 kB / 478.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/0.1687, allocations: 0.6877 MB / 479.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.1688, allocations: 23.98 kB / 479.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.1827, allocations: 14.66 MB / 494.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1827, allocations: 3.984 kB / 494.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.1868, allocations: 1.71 MB / 496 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1869, allocations: 104.7 kB / 496.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.187, allocations: 16.06 kB / 496.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.1875, allocations: 27.92 kB / 496.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.1878, allocations: 84.81 kB / 496.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.1878, allocations: 28.25 kB / 496.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.1879, allocations: 111.2 kB / 496.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1879, allocations: 0 / 496.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009794/0.1889, allocations: 216 kB / 496.6 MB, free: 13.49 MB / 382.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.0001806/0.1891, allocations: 125.9 kB / 496.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005325/0.1945, allocations: 1.824 MB / 498.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.1945, allocations: 0 / 498.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004518/0.199, allocations: 1.548 MB / 0.4884 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.1997, allocations: 94.67 kB / 0.4885 GB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.2024, allocations: 1.512 MB / 0.4899 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.203, allocations: 0.8799 MB / 0.4908 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.2033, allocations: 56.16 kB / 0.4909 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2034, allocations: 43.42 kB / 0.4909 GB, free: 7.191 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2034, allocations: 4 kB / 0.4909 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Templates: time 0.01838/0.2218, allocations: 11.28 MB / 0.5019 GB, free: 11.96 MB / 398.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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)