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.0008804/0.0008804, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006679/0.006679, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.259/1.259, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1844/0.1844, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 8 kB / 382.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 55.98 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.002179/0.2213, allocations: 3.202 MB / 441.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2223, allocations: 1.091 MB / 442.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2224, allocations: 2.875 kB / 442.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.171e-05/0.2225, allocations: 50.16 kB / 442.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.2228, allocations: 162 kB / 443.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.223, allocations: 180.2 kB / 443.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.2235, allocations: 0.7774 MB / 444 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.2238, allocations: 291.6 kB / 444.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.224, allocations: 265.2 kB / 444.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.2242, allocations: 295.7 kB / 444.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.2243, allocations: 41.53 kB / 444.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.2244, allocations: 36.59 kB / 444.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.2245, allocations: 115.9 kB / 445.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2246, allocations: 323.3 kB / 445.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.225, allocations: 0.702 MB / 446.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.225, allocations: 0 / 446.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.225, allocations: 2.5 kB / 446.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.225, allocations: 0 / 446.1 MB, free: 34.65 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001128/0.2262, allocations: 0.7352 MB / 446.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.2262, allocations: 15.94 kB / 446.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.2263, allocations: 61.78 kB / 446.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2264, allocations: 230.3 kB / 447.1 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.2265, allocations: 48.25 kB / 447.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.2265, allocations: 66.28 kB / 447.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.2273, allocations: 0.5434 MB / 447.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2274, allocations: 4 kB / 447.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.2274, allocations: 26.06 kB / 447.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2274, allocations: 13.94 kB / 447.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.2282, allocations: 0.4918 MB / 448.3 MB, free: 33.36 MB / 350.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.002098/0.2303, allocations: 2.346 MB / 450.7 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2313, allocations: 0.5865 MB / 451.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.2316, allocations: 241.3 kB / 451.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.2317, allocations: 20.97 kB / 451.5 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2317, allocations: 37.75 kB / 451.5 MB, free: 31.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.814e-06/0.2317, allocations: 0 / 451.5 MB, free: 31.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01159/0.2433, allocations: 4.015 MB / 455.5 MB, free: 29.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.2434, allocations: 60.12 kB / 455.6 MB, free: 29.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.2435, allocations: 149.9 kB / 455.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.2435, allocations: 40.98 kB / 455.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.2436, allocations: 221.4 kB / 456 MB, free: 28.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2437, allocations: 305.5 kB / 456.3 MB, free: 28.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.2438, allocations: 63.19 kB / 456.4 MB, free: 28.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.2438, allocations: 350.6 kB / 456.7 MB, free: 28.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.2443, allocations: 268.2 kB / 457 MB, free: 28.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.2448, allocations: 328.4 kB / 457.3 MB, free: 28.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.256, allocations: 2.257 MB / 459.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.256, allocations: 0 / 459.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002879/0.2589, allocations: 1.106 MB / 460.7 MB, free: 26.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2589, allocations: 4.531 kB / 460.7 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2589, allocations: 1.094 kB / 460.7 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.2611, allocations: 441.4 kB / 461.1 MB, free: 26.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.2641, allocations: 421 kB / 461.5 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008952/0.2731, allocations: 13.13 MB / 474.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.2736, allocations: 49.27 kB / 474.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.2737, allocations: 25.09 kB / 474.7 MB, free: 13.95 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.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 = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.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 = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 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 {(3,4,77.8%), (3,4,77.8%), (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.0003175/0.274, allocations: 259.2 kB / 475 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.2741, allocations: 37.31 kB / 475 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.2777, allocations: 1.275 MB / 476.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2777, allocations: 12.88 kB / 476.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.2777, allocations: 3.719 kB / 476.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2778, allocations: 4.406 kB / 476.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.282, allocations: 2.015 MB / 478.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.282, allocations: 1.312 kB / 478.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/0.2847, allocations: 380.7 kB / 478.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004479/0.2892, allocations: 0.7313 MB / 479.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.2893, allocations: 21.02 kB / 479.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.3, allocations: 13.64 MB / 493.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3, allocations: 1.75 kB / 493.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.304, allocations: 1.715 MB / 494.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.3041, allocations: 109.2 kB / 494.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.3041, allocations: 19.02 kB / 494.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.3046, allocations: 36.67 kB / 494.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.3049, allocations: 87.62 kB / 495 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.3049, allocations: 27.98 kB / 495.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.305, allocations: 108.4 kB / 495.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.305, allocations: 3.938 kB / 495.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009763/0.306, allocations: 220.9 kB / 495.4 MB, free: 13.82 MB / 366.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 {(3,4,77.8%), (3,4,77.8%), (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.0001563/0.3062, allocations: 123.9 kB / 495.5 MB, free: 13.7 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V2.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V1.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.00518/0.3114, allocations: 1.845 MB / 497.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3114, allocations: 0 / 497.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004511/0.3159, allocations: 1.581 MB / 498.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.3165, allocations: 97.97 kB / 499 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.3192, allocations: 1.915 MB / 0.4892 GB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.3196, allocations: 0.8772 MB / 0.4901 GB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003727/0.32, allocations: 59.86 kB / 0.4901 GB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3201, allocations: 36.42 kB / 0.4902 GB, free: 9.695 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3201, allocations: 0 / 0.4902 GB, free: 9.695 MB / 366.1 MB Notification: Performance of Templates: time 0.01691/0.3371, allocations: 10.58 MB / 0.5005 GB, free: 15.89 MB / 382.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)