Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") translateModel(AES.Devel_test_models.Test_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001524/0.001524, allocations: 168.7 kB / 15.95 MB, free: 204 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.561/1.561, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3115/0.3115, allocations: 22.35 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 16 kB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.374, allocations: 55.97 MB / 437.9 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002603/0.3767, allocations: 2.807 MB / 440.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.378, allocations: 1.013 MB / 441.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3781, allocations: 6.812 kB / 441.7 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.317e-05/0.3782, allocations: 38.53 kB / 441.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.3785, allocations: 136.5 kB / 441.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3788, allocations: 141.4 kB / 442 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/0.3793, allocations: 0.6875 MB / 442.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.3797, allocations: 256.2 kB / 443 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3799, allocations: 229.3 kB / 443.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3802, allocations: 266.6 kB / 443.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.3803, allocations: 31.88 kB / 443.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.3803, allocations: 30.44 kB / 443.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.3804, allocations: 96.06 kB / 443.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.3805, allocations: 129.1 kB / 443.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.3809, allocations: 0.4942 MB / 444.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3809, allocations: 6.922 kB / 444.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3809, allocations: 0 / 444.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3809, allocations: 0 / 444.2 MB, free: 35.39 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001209/0.3821, allocations: 0.6928 MB / 444.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3822, allocations: 8.656 kB / 445 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.784e-05/0.3823, allocations: 57.88 kB / 445 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3824, allocations: 223.7 kB / 445.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.3825, allocations: 44 kB / 445.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.3826, allocations: 52.19 kB / 445.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.3834, allocations: 497.3 kB / 445.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3834, allocations: 0 / 445.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.3834, allocations: 25.88 kB / 445.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3835, allocations: 18.84 kB / 445.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.3842, allocations: 483.5 kB / 446.3 MB, free: 34.17 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.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 = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.3863, allocations: 1.644 MB / 448 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.3871, allocations: 0.5009 MB / 448.5 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.3874, allocations: 222.1 kB / 448.7 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.519e-05/0.3875, allocations: 10.38 kB / 448.7 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3875, allocations: 42 kB / 448.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.573e-06/0.3875, allocations: 0 / 448.7 MB, free: 32.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005441/0.3929, allocations: 2.418 MB / 451.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.393, allocations: 59.94 kB / 451.2 MB, free: 31.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3932, allocations: 185.3 kB / 451.4 MB, free: 31.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.3932, allocations: 40.33 kB / 451.4 MB, free: 31.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3933, allocations: 189.4 kB / 451.6 MB, free: 31.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.3935, allocations: 266.6 kB / 451.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3936, allocations: 14.56 kB / 451.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3937, allocations: 352.8 kB / 452.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.394, allocations: 207.7 kB / 452.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.3944, allocations: 264.6 kB / 452.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.3948, allocations: 255.3 kB / 452.9 MB, free: 30.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3948, allocations: 0 / 452.9 MB, free: 30.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001558/0.3963, allocations: 0.7776 MB / 453.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3964, allocations: 3.719 kB / 453.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.3964, allocations: 2.75 kB / 453.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009256/0.3973, allocations: 197.5 kB / 453.9 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/0.4005, allocations: 0.5145 MB / 454.4 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/0.4068, allocations: 9.851 MB / 464.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.4074, allocations: 30.38 kB / 464.3 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.4074, allocations: 22.61 kB / 464.3 MB, free: 19.89 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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, 0.0))))))) start = V.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): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003621/0.4078, allocations: 220.6 kB / 464.6 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.4079, allocations: 40.39 kB / 464.6 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.41, allocations: 0.941 MB / 465.5 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.41, allocations: 11.78 kB / 465.5 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.41, allocations: 6.641 kB / 465.6 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.41, allocations: 3.469 kB / 465.6 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.4132, allocations: 1.879 MB / 467.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.4132, allocations: 8.531 kB / 467.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/0.4162, allocations: 465.5 kB / 467.9 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.418, allocations: 355.4 kB / 468.2 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.4181, allocations: 27.28 kB / 468.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/0.4246, allocations: 10.05 MB / 478.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/0.4246, allocations: 6.594 kB / 478.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.4272, allocations: 1.406 MB / 479.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.4273, allocations: 125.8 kB / 479.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.4274, allocations: 23.25 kB / 479.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.4278, allocations: 29.91 kB / 479.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.428, allocations: 89.28 kB / 480 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.4281, allocations: 27.5 kB / 480 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.4282, allocations: 140.1 kB / 480.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.4282, allocations: 0 / 480.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000987/0.4292, allocations: 177.6 kB / 480.3 MB, free: 6.875 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.4294, allocations: 126.1 kB / 480.5 MB, free: 6.766 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004614/0.434, allocations: 1.351 MB / 481.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.434, allocations: 1.188 kB / 481.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003737/0.4378, allocations: 1.113 MB / 482.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.4386, allocations: 126.8 kB / 483 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.4408, allocations: 1.585 MB / 484.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4412, allocations: 0.8424 MB / 485.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.4416, allocations: 64.58 kB / 485.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.4418, allocations: 39.66 kB / 485.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4418, allocations: 0 / 485.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01739/0.4592, allocations: 7.982 MB / 493.6 MB, free: 2.223 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_001.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & ./AES_AES.Devel_test_models.Test_air_circ_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)