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.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001683/0.001683, allocations: 194.5 kB / 16.14 MB, free: 6.711 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1932/0.1932, allocations: 22.36 MB / 312.3 MB, free: 12.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.91 kB / 380.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2442, allocations: 54.95 MB / 435 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003621/0.2478, allocations: 3.589 MB / 438.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2494, allocations: 1.104 MB / 439.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.2498, allocations: 2.781 kB / 439.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.2499, allocations: 45.2 kB / 439.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.2505, allocations: 161.5 kB / 439.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.2509, allocations: 180.8 kB / 440.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.2515, allocations: 0.7771 MB / 440.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.2519, allocations: 302.5 kB / 441.2 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.2523, allocations: 269.5 kB / 441.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.2526, allocations: 315.5 kB / 441.8 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.2527, allocations: 36.94 kB / 441.8 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2529, allocations: 40.97 kB / 441.8 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.253, allocations: 121.1 kB / 442 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.2532, allocations: 300.7 kB / 442.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.2537, allocations: 0.7136 MB / 443 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2537, allocations: 0 / 443 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2537, allocations: 0 / 443 MB, free: 34.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.2537, allocations: 0 / 443 MB, free: 34.68 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.001517/0.2552, allocations: 0.8425 MB / 443.8 MB, free: 34.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2553, allocations: 11 kB / 443.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.2554, allocations: 56.75 kB / 443.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.2555, allocations: 224.9 kB / 444.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2556, allocations: 47.44 kB / 444.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.2557, allocations: 78.56 kB / 444.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.2565, allocations: 0.539 MB / 444.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2565, allocations: 0 / 444.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.2566, allocations: 29.78 kB / 444.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2566, allocations: 20.72 kB / 444.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.2573, allocations: 0.4902 MB / 445.3 MB, free: 33.33 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.002283/0.2596, allocations: 2.328 MB / 447.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2607, allocations: 0.5868 MB / 448.2 MB, free: 31.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.261, allocations: 241.5 kB / 448.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.2611, allocations: 14.83 kB / 448.5 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.2611, allocations: 42.41 kB / 448.5 MB, free: 31.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.984e-06/0.2611, allocations: 0 / 448.5 MB, free: 31.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01206/0.2732, allocations: 3.939 MB / 452.4 MB, free: 29.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.2733, allocations: 61.53 kB / 452.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2734, allocations: 143.9 kB / 452.6 MB, free: 29.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.2734, allocations: 40.73 kB / 452.7 MB, free: 29.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.2735, allocations: 226.5 kB / 452.9 MB, free: 28.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.2737, allocations: 299.3 kB / 453.2 MB, free: 28.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.2739, allocations: 116 kB / 453.3 MB, free: 28.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.2739, allocations: 347.5 kB / 453.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.2744, allocations: 271.6 kB / 453.9 MB, free: 28.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.2748, allocations: 329.1 kB / 454.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.2858, allocations: 2.17 MB / 456.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2859, allocations: 0 / 456.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002833/0.2887, allocations: 1.094 MB / 457.5 MB, free: 26.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2888, allocations: 9.25 kB / 457.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2888, allocations: 5.406 kB / 457.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.2908, allocations: 401.2 kB / 457.9 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/0.2941, allocations: 431.1 kB / 458.3 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009898/0.304, allocations: 13.06 MB / 471.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.3047, allocations: 54.89 kB / 471.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.3047, allocations: 29.31 kB / 471.5 MB, free: 13.93 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 {(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.0004154/0.3051, allocations: 253.6 kB / 471.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.3052, allocations: 36.91 kB / 471.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.3087, allocations: 1.263 MB / 473 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3087, allocations: 13 kB / 473 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.3088, allocations: 2.562 kB / 473 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3088, allocations: 4.875 kB / 473 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/0.3129, allocations: 1.996 MB / 475 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3129, allocations: 0 / 475 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/0.3159, allocations: 382.8 kB / 475.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/0.3199, allocations: 0.6893 MB / 476.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.32, allocations: 29.83 kB / 476.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.3304, allocations: 13.55 MB / 489.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3304, allocations: 6.188 kB / 489.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.3345, allocations: 1.709 MB / 491.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3347, allocations: 110.8 kB / 491.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.3347, allocations: 20.22 kB / 491.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.3353, allocations: 40.16 kB / 491.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.3356, allocations: 85.27 kB / 491.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.3356, allocations: 27.5 kB / 491.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.183e-05/0.3357, allocations: 112.3 kB / 491.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3357, allocations: 0 / 491.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001096/0.3368, allocations: 230.9 kB / 492 MB, free: 13.81 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 {(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.0001772/0.337, allocations: 114.1 kB / 492.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005519/0.3425, allocations: 1.821 MB / 493.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3426, allocations: 0 / 493.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004676/0.3472, allocations: 1.542 MB / 495.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.3479, allocations: 90.91 kB / 495.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.3508, allocations: 1.81 MB / 497.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3513, allocations: 0.8775 MB / 498.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004065/0.3517, allocations: 54.27 kB / 498.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3519, allocations: 34.47 kB / 498.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3519, allocations: 0 / 498.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of Templates: time 0.01853/0.3704, allocations: 10.63 MB / 0.497 GB, free: 0.9297 MB / 366.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)