Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") translateModel(AES.Devel_test_models.Test_air_circ_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001726/0.001726, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2027/0.2027, allocations: 22.35 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 380.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2787, allocations: 54.94 MB / 435.2 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.003734/0.2825, allocations: 3.541 MB / 438.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2838, allocations: 1.111 MB / 439.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.284, allocations: 5.375 kB / 439.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2841, allocations: 45.42 kB / 439.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.2845, allocations: 154.1 kB / 440.1 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2848, allocations: 186.8 kB / 440.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.2854, allocations: 0.8436 MB / 441.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.2859, allocations: 440.5 kB / 441.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.2863, allocations: 347.3 kB / 441.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.2866, allocations: 399.6 kB / 442.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.2867, allocations: 81.12 kB / 442.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2868, allocations: 78.59 kB / 442.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.287, allocations: 174 kB / 442.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.2872, allocations: 361.8 kB / 443 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.2878, allocations: 0.8127 MB / 443.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2878, allocations: 0 / 443.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2878, allocations: 0 / 443.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.2878, allocations: 0 / 443.8 MB, free: 34.33 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00165/0.2895, allocations: 0.8743 MB / 444.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2895, allocations: 8.969 kB / 444.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2896, allocations: 56.06 kB / 444.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2898, allocations: 229.1 kB / 444.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.2898, allocations: 49 kB / 445 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.2899, allocations: 62.56 kB / 445 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.2908, allocations: 0.6024 MB / 445.6 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2908, allocations: 4 kB / 445.6 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.2909, allocations: 25.78 kB / 445.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.2909, allocations: 16.88 kB / 445.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.2918, allocations: 0.6032 MB / 446.3 MB, free: 32.94 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.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 = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.2946, allocations: 1.945 MB / 448.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2959, allocations: 0.6954 MB / 448.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.2963, allocations: 309.5 kB / 449.2 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.2964, allocations: 10.09 kB / 449.2 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.2964, allocations: 38.94 kB / 449.3 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004574/0.2969, allocations: 113 kB / 449.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.355e-06/0.2969, allocations: 3.938 kB / 449.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006734/0.3036, allocations: 2.899 MB / 452.3 MB, free: 29.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3037, allocations: 70.03 kB / 452.4 MB, free: 29.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3039, allocations: 204.7 kB / 452.6 MB, free: 29.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.3039, allocations: 40.8 kB / 452.6 MB, free: 29.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.304, allocations: 189.2 kB / 452.8 MB, free: 29.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3042, allocations: 303.2 kB / 453.1 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3044, allocations: 134.9 kB / 453.2 MB, free: 29.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.3045, allocations: 353.5 kB / 453.6 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.3049, allocations: 275.1 kB / 453.8 MB, free: 28.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.3053, allocations: 348.8 kB / 454.2 MB, free: 28.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/0.3212, allocations: 2.822 MB / 457 MB, free: 27.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3212, allocations: 0 / 457 MB, free: 27.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002152/0.3234, allocations: 0.9372 MB / 457.9 MB, free: 27.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3234, allocations: 9.062 kB / 457.9 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3235, allocations: 0 / 457.9 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/0.3244, allocations: 188.4 kB / 458.1 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/0.3289, allocations: 0.5392 MB / 458.7 MB, free: 27.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006971/0.3359, allocations: 10.63 MB / 469.3 MB, free: 16.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.3366, allocations: 45.23 kB / 469.3 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.3367, allocations: 28.72 kB / 469.4 MB, free: 16.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 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 (87): * Single equations (assignments): 80 * 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.0003891/0.3371, allocations: 208.8 kB / 469.6 MB, free: 16.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3372, allocations: 39.09 kB / 469.6 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.3398, allocations: 1.176 MB / 470.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.3398, allocations: 9.062 kB / 470.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3398, allocations: 1.25 kB / 470.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3398, allocations: 7.344 kB / 470.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.3434, allocations: 2.136 MB / 472.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.3434, allocations: 10.16 kB / 472.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/0.3473, allocations: 0.5007 MB / 473.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.3494, allocations: 343.3 kB / 473.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.705e-05/0.3495, allocations: 30.16 kB / 473.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007445/0.357, allocations: 10.87 MB / 484.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.357, allocations: 12.59 kB / 484.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.36, allocations: 1.673 MB / 486.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3602, allocations: 126.6 kB / 486.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/0.3603, allocations: 29.48 kB / 486.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.3609, allocations: 38.14 kB / 486.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.3611, allocations: 100.9 kB / 486.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.3612, allocations: 30.78 kB / 486.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3613, allocations: 155 kB / 486.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3613, allocations: 4 kB / 486.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009293/0.3623, allocations: 197.1 kB / 487 MB, free: 2.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 (86): * Single equations (assignments): 79 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.3624, allocations: 133.9 kB / 487.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00569/0.3681, allocations: 1.543 MB / 488.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.3682, allocations: 0.9062 kB / 488.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004598/0.3728, allocations: 1.206 MB / 489.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3738, allocations: 155.2 kB / 490.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.3765, allocations: 1.74 MB / 491.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.3771, allocations: 0.867 MB / 492.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006376/0.3778, allocations: 83.59 kB / 492.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.378, allocations: 51.5 kB / 492.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.378, allocations: 0 / 492.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Templates: time 0.02255/0.4006, allocations: 10.77 MB / 0.4918 GB, free: 6.957 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_003.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & ./AES_AES.Devel_test_models.Test_air_circ_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)