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.00104/0.00104, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001226/0.001226, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2636/0.2636, allocations: 22.34 MB / 313.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003846, allocations: 8 kB / 381.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3728, allocations: 55.97 MB / 437.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003185/0.376, allocations: 3.055 MB / 441 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3781, allocations: 1.047 MB / 442 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.3786, allocations: 6.781 kB / 442 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.3788, allocations: 50.97 kB / 442.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007887/0.3796, allocations: 156.1 kB / 442.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.3801, allocations: 147.7 kB / 442.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3811, allocations: 0.743 MB / 443.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.3817, allocations: 295.8 kB / 443.4 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.3823, allocations: 257.9 kB / 443.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.3829, allocations: 292 kB / 443.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.383, allocations: 36.38 kB / 444 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3832, allocations: 37.81 kB / 444 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.3833, allocations: 112.2 kB / 444.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3835, allocations: 139.2 kB / 444.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.384, allocations: 0.5436 MB / 444.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.384, allocations: 6.938 kB / 444.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.384, allocations: 0 / 444.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.384, allocations: 0 / 444.8 MB, free: 35.43 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.001416/0.3854, allocations: 0.7262 MB / 445.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3855, allocations: 11.59 kB / 445.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3856, allocations: 59.19 kB / 445.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3858, allocations: 236.8 kB / 445.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.3859, allocations: 45.88 kB / 445.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.386, allocations: 62.97 kB / 445.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009556/0.3869, allocations: 0.5378 MB / 446.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.387, allocations: 3.953 kB / 446.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.387, allocations: 33.88 kB / 446.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.387, allocations: 15.09 kB / 446.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.3878, allocations: 0.49 MB / 447 MB, free: 34.14 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.002356/0.3902, allocations: 2.348 MB / 449.4 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3912, allocations: 0.58 MB / 449.9 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.3916, allocations: 240.4 kB / 450.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/0.3916, allocations: 13.14 kB / 450.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3916, allocations: 37.81 kB / 450.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.144e-06/0.3917, allocations: 0 / 450.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.0108/0.4025, allocations: 4.013 MB / 454.2 MB, free: 30.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4025, allocations: 68 kB / 454.3 MB, free: 30.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4027, allocations: 140.8 kB / 454.4 MB, free: 29.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.4027, allocations: 41.05 kB / 454.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.4028, allocations: 220.3 kB / 454.7 MB, free: 29.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.403, allocations: 306 kB / 455 MB, free: 29.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.403, allocations: 17.06 kB / 455 MB, free: 29.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.4031, allocations: 338.7 kB / 455.3 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.4035, allocations: 269 kB / 455.6 MB, free: 29.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.404, allocations: 332.4 kB / 455.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.4046, allocations: 318.2 kB / 456.2 MB, free: 28.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4046, allocations: 0 / 456.2 MB, free: 28.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002743/0.4073, allocations: 1.092 MB / 457.3 MB, free: 28.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4074, allocations: 5.719 kB / 457.3 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4074, allocations: 0 / 457.3 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.4094, allocations: 433.2 kB / 457.8 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.4121, allocations: 430.6 kB / 458.2 MB, free: 28.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.4227, allocations: 13.12 MB / 471.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.4235, allocations: 47.95 kB / 471.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.4236, allocations: 24.16 kB / 471.4 MB, free: 15.24 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 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 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 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 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 (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004947/0.4241, allocations: 257.4 kB / 471.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4242, allocations: 41.69 kB / 471.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.428, allocations: 1.273 MB / 472.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.428, allocations: 12.28 kB / 473 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/0.428, allocations: 4.203 kB / 473 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.4281, allocations: 4.312 kB / 473 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.4326, allocations: 2.003 MB / 475 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4327, allocations: 1.281 kB / 475 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.4352, allocations: 381 kB / 475.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005254/0.4405, allocations: 0.727 MB / 476.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.4407, allocations: 26.03 kB / 476.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/0.4561, allocations: 13.61 MB / 489.7 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4562, allocations: 4 kB / 489.7 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005908/0.4621, allocations: 1.704 MB / 491.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.4624, allocations: 112.8 kB / 491.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4625, allocations: 26.95 kB / 491.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.4633, allocations: 37.05 kB / 491.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/0.4638, allocations: 91.86 kB / 491.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.4639, allocations: 28 kB / 491.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.4641, allocations: 110.7 kB / 491.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4641, allocations: 0 / 491.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001963/0.4661, allocations: 220.5 kB / 492 MB, free: 15.11 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 (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 3 {1 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.4664, allocations: 123.3 kB / 492.1 MB, free: 15 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.007027/0.4735, allocations: 1.837 MB / 494 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4735, allocations: 4.062 kB / 494 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006062/0.4796, allocations: 1.571 MB / 495.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4807, allocations: 92.73 kB / 495.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.4854, allocations: 1.859 MB / 497.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.4862, allocations: 0.8858 MB / 498.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005137/0.4867, allocations: 57.69 kB / 498.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.4869, allocations: 34.7 kB / 498.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4869, allocations: 0 / 498.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.02274/0.5096, allocations: 10.26 MB / 0.4968 GB, free: 3.309 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)